Skip to content

Commit

Permalink
Make Codecov and ASAN checks faster (ad-freiburg#1066)
Browse files Browse the repository at this point in the history
The coverage analysis is now run without any sanitizers (which were redundant anyway).
The address sanitizer (ASAN) runs are now run with expensive tests disabled.
  • Loading branch information
joka921 authored Aug 23, 2023
1 parent a77ac86 commit 3a628ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
build-type: Debug
warnings: "-Wall -Wextra "
# we disable the `assert()` macro as it messes with the coverage reports
asan-flags: "-fsanitize=address -fno-omit-frame-pointer -DNDEBUG"
ubsan-flags: " -fsanitize=undefined"
asan-flags: "-DNDEBUG"
ubsan-flags: ""
coverage-flags: "-fprofile-instr-generate -fcoverage-mapping"
cmake-flags: "-DCMAKE_C_COMPILER=clang-16 -DCMAKE_CXX_COMPILER=clang++-16"

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
compiler-version: 13
include:
- compiler: clang
compiler-version: 16
asan-flags: "-fsanitize=address -fno-omit-frame-pointer"
build-type: Release
expensive-tests: false
- compiler: clang
compiler-version: 16
ubsan-flags: " -fsanitize=undefined"
Expand Down

0 comments on commit 3a628ef

Please sign in to comment.