diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-08 14:14:59 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-22 15:34:14 (GMT) |
commit | 0ed7e424abd49bb0e156b57af41a2528bc54329b (patch) | |
tree | 6a8f81579d3769d78b6c2ca2bf9e13d35b3e4d52 /.gitlab-ci.yml | |
parent | d89d333070a9d2275a1b502853b4e629e696809e (diff) | |
download | CMake-0ed7e424abd49bb0e156b57af41a2528bc54329b.zip CMake-0ed7e424abd49bb0e156b57af41a2528bc54329b.tar.gz CMake-0ed7e424abd49bb0e156b57af41a2528bc54329b.tar.bz2 |
gitlab-ci: use the cmake_build_unix anchor
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a55ca3..cd63997 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,57 +69,19 @@ stages: build:debian10-iwyu: <<: - *debian10_iwyu - stage: build - only: *only_settings - tags: - - build - - docker - - linux - - script: - - .gitlab/ci/sccache.sh - - sccache --start-server - - sccache --show-stats - - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_configure.cmake" - - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_build.cmake" - - sccache --show-stats - interruptible: true + - *cmake_build_unix build:fedora31-tidy: <<: - *fedora31_tidy - stage: build - only: *only_settings - tags: - - build - - docker - - linux - - script: - - .gitlab/ci/sccache.sh - - sccache --start-server - - sccache --show-stats - - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_configure.cmake" - - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_build.cmake" - - sccache --show-stats - interruptible: true + - *cmake_build_unix build:fedora31-sphinx: <<: - *fedora31_sphinx - stage: build - only: *only_settings + - *cmake_build_unix tags: - build - docker - linux - linux-3.17 # Needed to be able to load Fedora's Qt libraries. - - script: - - .gitlab/ci/sccache.sh - - sccache --start-server - - sccache --show-stats - - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_configure.cmake" - - "$LAUNCHER ctest -VV -S .gitlab/ci/ctest_build.cmake" - - sccache --show-stats - interruptible: true |