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.
This commit is contained in:
Brad King
2021-06-03 12:00:47 -04:00
parent adc38da49f
commit da14f4e19e
5 changed files with 32 additions and 18 deletions

View File

@@ -0,0 +1 @@
include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora34_common.cmake")

View File

@@ -0,0 +1,2 @@
export CC=/usr/libexec/ccc-analyzer
export CXX=/usr/libexec/c++-analyzer

View File

@@ -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