Skip to content

Commit

Permalink
Add GCC-12 ASAN run to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Jun 25, 2024
1 parent 9db7af7 commit 2e287ce
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ jobs:
os: ubuntu-22.04
install:
- g++-12-multilib
- name: ASAN
toolset: gcc-12
cxxstd: "03,11,14,17,20,23"
address_model: 32,64
asan: 1
os: ubuntu-22.04
install:
- g++-12-multilib
- toolset: gcc-13
cxxstd: "03,11,14,17,20,23"
address_model: 32,64
Expand Down Expand Up @@ -469,6 +477,10 @@ jobs:
export UBSAN_OPTIONS="print_stacktrace=1"
B2_ARGS+=("cxxflags=-fsanitize=undefined -fno-sanitize-recover=undefined" "linkflags=-fsanitize=undefined -fuse-ld=gold" "define=UBSAN=1" "debug-symbols=on" "visibility=global")
fi
if [ -n "${{matrix.asan}}" ]
then
B2_ARGS+=("cxxflags=-fsanitize=address -fno-sanitize-recover=address" "linkflags=-fsanitize=address" "debug-symbols=on" "visibility=global")
fi
if [ -n "${{matrix.cxxflags}}" ]
then
B2_ARGS+=("cxxflags=${{matrix.cxxflags}}")
Expand Down

0 comments on commit 2e287ce

Please sign in to comment.