Skip to content

Commit

Permalink
ci: populate sanitizers job with clang build
Browse files Browse the repository at this point in the history
It is required to test tntcxx with undefined behavior sanitizer, which
is disabled on GCC because of bug.

Closes #73
  • Loading branch information
drewdzzz committed Jan 23, 2024
1 parent 225ad6f commit bc37f33
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,17 @@ jobs:
build-type:
- Debug
- RelWithDebInfo
compiler:
- {c: gcc, cxx: g++}
- {c: clang, cxx: clang++}
# gcc on macos is just an alias for clang
exclude:
- runs-on: macos-12
compiler: {c: gcc, cxx: g++}
name: sanitizers (${{ matrix.runs-on }}, ${{ matrix.build-type }}, ${{ matrix.compiler.c }})
with:
runs-on: ${{ matrix.runs-on }}
build-type: ${{ matrix.build-type }}
c-compiler: ${{ matrix.compiler.c }}
cxx-compiler: ${{ matrix.compiler.cxx }}
enable-sanitizers: true

0 comments on commit bc37f33

Please sign in to comment.