IAP GITLAB

Commit fb9cff3e authored by Hans Dembinski's avatar Hans Dembinski

reverted unrelated changes to master and place sanitizer variables in variables section

parent 38e4c70c
Pipeline #663 passed with stage
in 2 minutes and 6 seconds
......@@ -2,25 +2,28 @@ image: corsika/devel:u-18.04
variables:
GIT_SSL_NO_VERIFY: "1"
## Runtime options for sanitizers
# (detect_leaks=0 because leak detection doesn't work in CI, but you can
# try to test with leak detection locally by using detect_leaks=1)
UBSAN_OPTIONS: "print_stacktrace=1"
LSAN_OPTIONS: "log_threads=1"
ASAN_OPTIONS: "detect_leaks=0:detect_stack_use_after_return=1"
build:
stage: build
tags:
- corsika
# detect_leaks=0 because leak detection doesn't work in CI, but you can
# try to test with leak detection locally, just set detect_leaks=1
script:
- mkdir build
- cd build
- cmake ..
- cmake --build . -- -j4
- UBSAN_OPTIONS=print_stacktrace=1
LSAN_OPTIONS=log_threads=1
ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=1 ctest -j4 -V -O test.log
- cmake --build . -- -j 4
- ctest -j4 -V >& test.log
after_script:
- cd build
- ls
- gzip -v -9 -S .gz test.log
- pwd
artifacts:
expire_in: 1 week
paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment