diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index fd386484..b5ba81ed 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -78,8 +78,12 @@ jobs: working-directory: build run: cmake --build . --config ${{matrix.config.name}} --target run_tests_with_junit_report env: + # log_path is set to the path where ASAN will write the error report (seems ineffective) + # alloc_dealloc_mismatch is set to 0 to deactivate unwanted ASAN warnings. + # halt_on_error is set to 0 to avoid crashing the program after printing the first error report. + # handle_abort is set to 0 to deactivate calls are handled as crashes by ASAN. + # exitcode is set to 0 to avoid reporting the build as failed if ASAN detects an error. ASAN_OPTIONS: log_path=${{github.workspace}}/asan.log:alloc_dealloc_mismatch=0:halt_on_error=0:handle_abort=0:exitcode=0 - # UBSAN_OPTIONS: log_path=${{github.workspace}}/ubsan.log:halt_on_error=0:handle_abort=1:exitcode=0 - name: Upload test results uses: actions/upload-artifact@v4