Commit cfbcf3e2 authored by GILLES Sebastien's avatar GILLES Sebastien

#1498 Update README about Yaml files, and update slightly generate_yaml script.

parent 7357c6f9
- common.yml encompasses the stuff that is used in all Yaml files (template to provide compilation and check warnings jobs for macos and linux, the jobs to handle Doxygen documentation).
- generate_yaml.py is a script to generate a tailored Yaml file.
The principle is that there is a gitlab-ci.yml file which is basically a list of other Yaml files included. The rationale behind that choice is that it enables to comment out easily parts of the CI, which is really useful in the dev cycle involving new CI builds. The drawback though is that CI-lint is more difficult to use than in the case of a unique Yaml file.
A possible use is for instance to type:
_common.yml_ encompasses the stuff that is used in all Yaml files (template to provide compilation and check warnings jobs for macos and linux, the jobs to handle Doxygen documentation, etc...) and thus should be included most of the time.
python generate_yaml.py > my-gitlab-ci.yml
A verrou.yml file is currently not activated due to issues with the Docker image: on some architectures the Docker images refuse to run valfgrind, calling out an illegal instruction instead.
which will put the configuration displayed in the main of this program in the target Yaml file.
- gitlab-ci-no-macos.yml and gitlab-ci.yml are two such outputs; both provide 6 Linux cases and one of them add two macOS build on top of this.
\ No newline at end of file
_generate_yaml.py_ was a script to generate former version of full gitlab-ci.yml file; it has been changed and is now handy to generate the Linux or macos versions of build and check.
\ No newline at end of file
......@@ -95,13 +95,6 @@ if __name__ == "__main__":
do_define_tags = True
print("include:")
print(" - local: '/ExternalTools/Gitlab-CI/common.yml'")
print(" - local: '/ExternalTools/Gitlab-CI/doxygen.yml'")
print(" - local: '/ExternalTools/Gitlab-CI/valgrind.yml'")
print(" - local: '/ExternalTools/Gitlab-CI/verrou.yml'")
print(" - local: '/ExternalTools/Gitlab-CI/analysis.yml'\n\n")
configuration_list = \
(
Configuration("ubuntu", "gcc", "debug", "shared", False),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment