summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-03 16:00:47 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-03 19:06:42 (GMT)
commitda14f4e19e72f2d7b7ea71ed420880358715a8f2 (patch)
tree30190cd1b78afc7e34f08cc31a20dfc7fe4d8c6d /.gitlab
parentadc38da49ff3549a74afceb01b06500b40bf0ee6 (diff)
downloadCMake-da14f4e19e72f2d7b7ea71ed420880358715a8f2.zip
CMake-da14f4e19e72f2d7b7ea71ed420880358715a8f2.tar.gz
CMake-da14f4e19e72f2d7b7ea71ed420880358715a8f2.tar.bz2
gitlab-ci: add job to build with clang-analyzer
Update the exceptions in `CTestCustom.cmake.in` to match this job's needs. Drop exceptions needed only by our previous nightly build.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_fedora34_clang_analyzer.cmake1
-rw-r--r--.gitlab/ci/env_fedora34_clang_analyzer.sh2
-rw-r--r--.gitlab/os-linux.yml9
3 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_fedora34_clang_analyzer.cmake b/.gitlab/ci/configure_fedora34_clang_analyzer.cmake
new file mode 100644
index 0000000..e00f8a7
--- /dev/null
+++ b/.gitlab/ci/configure_fedora34_clang_analyzer.cmake
@@ -0,0 +1 @@
+include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora34_common.cmake")
diff --git a/.gitlab/ci/env_fedora34_clang_analyzer.sh b/.gitlab/ci/env_fedora34_clang_analyzer.sh
new file mode 100644
index 0000000..d732c0b
--- /dev/null
+++ b/.gitlab/ci/env_fedora34_clang_analyzer.sh
@@ -0,0 +1,2 @@
+export CC=/usr/libexec/ccc-analyzer
+export CXX=/usr/libexec/c++-analyzer
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index e1a70ff..a8c07d8 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -85,6 +85,15 @@
CTEST_NO_WARNINGS_ALLOWED: 1
CMake_SKIP_INSTALL: 1
+.fedora34_clang_analyzer:
+ extends: .fedora34
+
+ variables:
+ CMAKE_CONFIGURATION: fedora34_clang_analyzer
+ CMAKE_BUILD_TYPE: Debug
+ CTEST_NO_WARNINGS_ALLOWED: 1
+ CMake_SKIP_INSTALL: 1
+
.fedora34_sphinx:
extends: .fedora34