Skip to content

Commit af2c5ac

Browse files
committed
Add baseline CI sanitizer jobs
The baseline is to establish that without being instrumented by sanitizers, the test programs can both compile an run without obvious issue.
1 parent b6fb4ec commit af2c5ac

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.gitlab-ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,18 @@ Linux/Static Analysis:
469469
CMAKE_OPTIONS: -D CLANG_TIDY=ON -D CPPCHECK=ON
470470
<<: *linux_success_template
471471

472+
Linux/GCC/Baseline:
473+
variables:
474+
CTEST_OPTIONS: --verbose
475+
<<: *linux_success_template
476+
477+
Linux/Clang/Baseline:
478+
variables:
479+
CC: clang
480+
CXX: clang++
481+
CTEST_OPTIONS: --verbose
482+
<<: *linux_success_template
483+
472484
Linux/GCC/ThreadSanitizer:
473485
variables:
474486
CMAKE_OPTIONS: -D EXAMPLE_USE_SANITIZER=thread
@@ -552,6 +564,18 @@ Linux/Clang/UndefinedSanitizer:
552564
- ninja -C build
553565
- "! ctest --test-dir build --output-on-failure ${CTEST_OPTIONS}"
554566

567+
macOS/AppleClang/Baseline:
568+
variables:
569+
CTEST_OPTIONS: --verbose
570+
<<: *macos_success_template
571+
572+
macOS/Clang/Baseline:
573+
variables:
574+
CC: clang
575+
CXX: clang++
576+
CTEST_OPTIONS: --verbose
577+
<<: *macos_success_template
578+
555579
macOS/AppleClang/ThreadSanitizer:
556580
variables:
557581
CMAKE_OPTIONS: -D EXAMPLE_USE_SANITIZER=thread

0 commit comments

Comments
 (0)