summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-05-08 10:14:59 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2020-05-22 11:34:14 -0400
commit0ed7e424abd49bb0e156b57af41a2528bc54329b (patch)
tree6a8f81579d3769d78b6c2ca2bf9e13d35b3e4d52 /.gitlab-ci.yml
parentd89d333070a9d2275a1b502853b4e629e696809e (diff)
downloadcmake-0ed7e424abd49bb0e156b57af41a2528bc54329b.tar.gz
gitlab-ci: use the cmake_build_unix anchor
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml44
1 files changed, 3 insertions, 41 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a55ca34e3..cd6399790c 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