IAP GITLAB

Skip to content
Snippets Groups Projects
Commit d734db57 authored by Hans Dembinski's avatar Hans Dembinski
Browse files

log to txt

parent 986e19aa
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,9 @@ build: ...@@ -7,6 +7,9 @@ build:
stage: build stage: build
tags: tags:
- corsika - 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: script:
- mkdir build - mkdir build
- cd build - cd build
...@@ -14,11 +17,11 @@ build: ...@@ -14,11 +17,11 @@ build:
- cmake --build . -- -j4 - cmake --build . -- -j4
- UBSAN_OPTIONS=print_stacktrace=1 - UBSAN_OPTIONS=print_stacktrace=1
LSAN_OPTIONS=verbosity=1:log_threads=1 LSAN_OPTIONS=verbosity=1:log_threads=1
ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=1 ctest -V -O test.log ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=1 ctest -V -O test.txt
artifacts: artifacts:
expire_in: 1 week expire_in: 1 week
paths: paths:
- build/test.log - build/test.txt
when: on_failure when: on_failure
reports: reports:
junit: junit:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment