mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-20 22:20:50 -06:00
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:
1
.gitlab/ci/configure_fedora34_clang_analyzer.cmake
Normal file
1
.gitlab/ci/configure_fedora34_clang_analyzer.cmake
Normal file
@@ -0,0 +1 @@
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora34_common.cmake")
|
||||
2
.gitlab/ci/env_fedora34_clang_analyzer.sh
Normal file
2
.gitlab/ci/env_fedora34_clang_analyzer.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
export CC=/usr/libexec/ccc-analyzer
|
||||
export CXX=/usr/libexec/c++-analyzer
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user