summaryrefslogtreecommitdiffstats
path: root/.gitlab/os-linux.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-07 18:30:08 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-08 13:54:08 (GMT)
commit20bc209a0c61ec59912b0c2b082ed43a080905bc (patch)
tree245c08ac3ba827556be39aea30b77fe23a4362b0 /.gitlab/os-linux.yml
parent19d831b03d2c3921c19f07a94fce4f7b678f0afa (diff)
downloadCMake-20bc209a0c61ec59912b0c2b082ed43a080905bc.zip
CMake-20bc209a0c61ec59912b0c2b082ed43a080905bc.tar.gz
CMake-20bc209a0c61ec59912b0c2b082ed43a080905bc.tar.bz2
gitlab-ci: add clang asan job
Diffstat (limited to '.gitlab/os-linux.yml')
-rw-r--r--.gitlab/os-linux.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.gitlab/os-linux.yml b/.gitlab/os-linux.yml
index 17f51cf..997beab 100644
--- a/.gitlab/os-linux.yml
+++ b/.gitlab/os-linux.yml
@@ -158,6 +158,27 @@
CMAKE_CONFIGURATION: debian10_makefiles_clang
CMAKE_GENERATOR: "Unix Makefiles"
+### Sanitizers
+
+.fedora_memcheck:
+ variables:
+ CMAKE_BUILD_TYPE: RelWithDebInfo
+
+.fedora_asan_addon:
+ extends: .fedora_memcheck
+
+ variables:
+ CTEST_MEMORYCHECK_TYPE: AddressSanitizer
+ CTEST_MEMORYCHECK_SANITIZER_OPTIONS: ""
+
+.fedora34_asan:
+ extends:
+ - .fedora34
+ - .fedora_asan_addon
+
+ variables:
+ CMAKE_CONFIGURATION: fedora34_asan
+
### Intel Compiler
.intelcompiler:
@@ -306,6 +327,15 @@
interruptible: true
+.cmake_memcheck_linux:
+ stage: test
+
+ script:
+ - *before_script_linux
+ - "$LAUNCHER ctest --output-on-failure -V -S .gitlab/ci/ctest_memcheck.cmake"
+
+ interruptible: true
+
.cmake_build_linux_release:
stage: build