From 0ed7e424abd49bb0e156b57af41a2528bc54329b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 8 May 2020 10:14:59 -0400 Subject: gitlab-ci: use the cmake_build_unix anchor --- .gitlab-ci.yml | 44 +++----------------------------------------- 1 file 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 -- cgit v0.12