Skip to content

Commit

Permalink
CI: Enable UBSAN, TSAN and Coverage checks
Browse files Browse the repository at this point in the history
The targets for UBSAN, TSAN and Coverage are defined in CMakeLists.txt,
but not enabled in CI, yet.

Enable it!
  • Loading branch information
Tobias Kaufmann authored and Tobias Kaufmann committed Dec 14, 2022
1 parent 2712195 commit 620e6dc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,18 @@ jobs:
fail-fast: false
matrix:
compiler: ["g++", "clang++"]
build_type: ["", "ASAN"]
build_type: ["", "ASAN", "UBSAN", "TSAN", "Coverage"]
hsm_flag: ["HSM_ENABLED=ON", "HSM_ENABLED=OFF"]

exclude:
# UBSAN, TSAN and Coverage are only executed with HSM feature enabled
- build_type: "UBSAN"
hsm_flag: "HSM_ENABLED=OFF"
- build_type: "TSAN"
hsm_flag: "HSM_ENABLED=OFF"
- build_type: "Coverage"
hsm_flag: "HSM_ENABLED=OFF"

include:
- build_type: "ASAN"
# Disable fast unwind to have clean stack-traces for better suppression.
Expand Down

0 comments on commit 620e6dc

Please sign in to comment.