summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-04-27 16:52:30 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-04-29 15:18:02 (GMT)
commit4318e8ed353064d8f1d531ab3e42c16347f1081b (patch)
treec2a15549171cb5eb3af6d7b6979be56114636cd8 /.gitlab-ci.yml
parent0866b9253bcb270b1bb737ce1fee3a4c8111969e (diff)
downloadCMake-4318e8ed353064d8f1d531ab3e42c16347f1081b.zip
CMake-4318e8ed353064d8f1d531ab3e42c16347f1081b.tar.gz
CMake-4318e8ed353064d8f1d531ab3e42c16347f1081b.tar.bz2
gitlab-ci: add iwyu job
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c15c794..9a91d20 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,19 @@
variables:
GIT_CLONE_PATH: "$CI_BUILDS_DIR/gitlab-kitware-cmake ci"
+.debian10: &debian10
+ image: "kitware/cmake:ci-debian10-x86_64-2020-04-27"
+
+ variables:
+ GIT_CLONE_PATH: "$CI_BUILDS_DIR/gitlab-kitware-cmake ci"
+
+.debian10_iwyu: &debian10_iwyu
+ extends: .debian10
+
+ variables:
+ CMAKE_CONFIGURATION: debian10_iwyu
+ CTEST_NO_WARNINGS_ALLOWED: 1
+
.fedora31_tidy: &fedora31_tidy
extends: .fedora31
@@ -45,6 +58,25 @@ stages:
- build
- test
+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
+
build:fedora31-tidy:
<<:
- *fedora31_tidy