diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-12 16:50:12 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-12 16:56:03 (GMT) |
commit | a1fe6ad62129c14e9dcae5c61d40bea55c81a497 (patch) | |
tree | 4f09d7f096f975af62a17fab2555aaddf52c4cb9 /.gitlab-ci.yml | |
parent | fda8b79f880877a9f07839dcabc9cd7854685e92 (diff) | |
download | CMake-a1fe6ad62129c14e9dcae5c61d40bea55c81a497.zip CMake-a1fe6ad62129c14e9dcae5c61d40bea55c81a497.tar.gz CMake-a1fe6ad62129c14e9dcae5c61d40bea55c81a497.tar.bz2 |
gitlab-ci: use `extends`
YAML anchors are not supported across include files.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 186 |
1 files changed, 93 insertions, 93 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81f3c35..f98f884 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,84 +33,84 @@ stages: # Lint builds build:debian10-iwyu: - <<: - - *debian10_iwyu - - *cmake_build_unix - - *linux_builder_tags - - *run_automatically + extends: + - .debian10_iwyu + - .cmake_build_unix + - .linux_builder_tags + - .run_automatically build:fedora31-tidy: - <<: - - *fedora31_tidy - - *cmake_build_unix - - *linux_builder_tags_qt - - *run_automatically + extends: + - .fedora31_tidy + - .cmake_build_unix + - .linux_builder_tags_qt + - .run_automatically build:fedora31-sphinx: - <<: - - *fedora31_sphinx - - *cmake_build_unix - - *linux_builder_tags_qt - - *run_automatically + extends: + - .fedora31_sphinx + - .cmake_build_unix + - .linux_builder_tags_qt + - .run_automatically # Linux builds build:centos6-release: - <<: - - *release_linux - - *cmake_build_release_linux - - *cmake_release_artifacts - - *linux_builder_tags - - *run_manually + extends: + - .release_linux + - .cmake_build_release_linux + - .cmake_release_artifacts + - .linux_builder_tags + - .run_manually test:fedora31-makefiles: - <<: - - *fedora31_makefiles - - *cmake_test_linux_package - - *linux_builder_tags_qt - - *run_automatically + extends: + - .fedora31_makefiles + - .cmake_test_linux_package + - .linux_builder_tags_qt + - .run_automatically dependencies: - build:centos6-release needs: - build:centos6-release test:cuda10.2-nvidia: - <<: - - *cuda10_2_nvidia - - *cmake_test_linux_package - - *linux_builder_tags_cuda - - *run_automatically + extends: + - .cuda10.2_nvidia + - .cmake_test_linux_package + - .linux_builder_tags_cuda + - .run_automatically dependencies: - build:centos6-release needs: - build:centos6-release build:fedora31-ninja: - <<: - - *fedora31_ninja - - *cmake_build_unix - - *cmake_build_artifacts - - *linux_builder_tags_qt - - *run_manually + extends: + - .fedora31_ninja + - .cmake_build_unix + - .cmake_build_artifacts + - .linux_builder_tags_qt + - .run_manually test:fedora31-ninja: - <<: - - *fedora31_ninja - - *cmake_test_unix - - *linux_builder_tags_qt - - *cmake_test_artifacts - - *run_automatically + extends: + - .fedora31_ninja + - .cmake_test_unix + - .linux_builder_tags_qt + - .cmake_test_artifacts + - .run_automatically dependencies: - build:fedora31-ninja needs: - build:fedora31-ninja test:fedora31-ninja-multi: - <<: - - *fedora31_ninja_multi - - *cmake_test_linux_external - - *linux_builder_tags_qt - - *run_automatically + extends: + - .fedora31_ninja_multi + - .cmake_test_linux_external + - .linux_builder_tags_qt + - .run_automatically dependencies: - test:fedora31-ninja needs: @@ -119,50 +119,50 @@ test:fedora31-ninja-multi: # macOS builds build:macos-ninja: - <<: - - *macos_ninja - - *cmake_build_unix - - *cmake_build_artifacts - - *macos_builder_tags - - *run_manually + extends: + - .macos_ninja + - .cmake_build_unix + - .cmake_build_artifacts + - .macos_builder_tags + - .run_manually test:macos-ninja: - <<: - - *macos_ninja - - *cmake_test_unix - - *cmake_test_artifacts - - *macos_builder_tags - - *run_automatically + extends: + - .macos_ninja + - .cmake_test_unix + - .cmake_test_artifacts + - .macos_builder_tags + - .run_automatically dependencies: - build:macos-ninja needs: - build:macos-ninja build:macos-makefiles: - <<: - - *macos_makefiles - - *cmake_build_unix - - *cmake_build_artifacts - - *macos_builder_tags - - *run_manually + extends: + - .macos_makefiles + - .cmake_build_unix + - .cmake_build_artifacts + - .macos_builder_tags + - .run_manually test:macos-makefiles: - <<: - - *macos_makefiles - - *cmake_test_unix - - *macos_builder_tags - - *run_automatically + extends: + - .macos_makefiles + - .cmake_test_unix + - .macos_builder_tags + - .run_automatically dependencies: - build:macos-makefiles needs: - build:macos-makefiles test:macos-xcode: - <<: - - *macos_xcode - - *cmake_test_macos_external - - *macos_builder_ext_tags - - *run_automatically + extends: + - .macos_xcode + - .cmake_test_macos_external + - .macos_builder_ext_tags + - .run_automatically dependencies: - test:macos-ninja needs: @@ -171,31 +171,31 @@ test:macos-xcode: # Windows builds build:windows-vs2019-x64-ninja: - <<: - - *windows_vs2019_x64_ninja - - *cmake_build_windows - - *cmake_build_artifacts - - *windows_builder_tags - - *run_manually + extends: + - .windows_vs2019_x64_ninja + - .cmake_build_windows + - .cmake_build_artifacts + - .windows_builder_tags + - .run_manually test:windows-vs2019-x64-ninja: - <<: - - *windows_vs2019_x64_ninja - - *cmake_test_windows - - *windows_builder_tags - - *cmake_test_artifacts - - *run_automatically + extends: + - .windows_vs2019_x64_ninja + - .cmake_test_windows + - .windows_builder_tags + - .cmake_test_artifacts + - .run_automatically dependencies: - build:windows-vs2019-x64-ninja needs: - build:windows-vs2019-x64-ninja test:windows-vs2019-x64: - <<: - - *windows_vs2019_x64 - - *cmake_test_windows_external - - *windows_builder_ext_tags - - *run_automatically + extends: + - .windows_vs2019_x64 + - .cmake_test_windows_external + - .windows_builder_ext_tags + - .run_automatically dependencies: - test:windows-vs2019-x64-ninja needs: |