Skip to content

Commit 437b714

Browse files
committed
gh ci: restore asan on msvc release
1 parent cd083ae commit 437b714

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/unit-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
cfg:
17-
# ubuntu sanitizing address, undefined, leak, thread
17+
# ubuntu sanitize address, undefined, leak, thread
1818
- {name: 'linux gcc dbg s:addr,ub,leak', os: ubuntu-latest, btype: Debug, cmakeflags: '-DSAN_ADDR=1 -DSAN_UB=1 -DSAN_LEAK=1'}
1919
- {name: 'linux gcc rel s:addr', os: ubuntu-latest, btype: RelWithDebInfo, cmakeflags: '-DSAN_ADDR=1'}
2020
- {name: 'linux gcc rel s:thread', os: ubuntu-latest, btype: RelWithDebInfo, cmakeflags: '-DSAN_THREAD=1'}
@@ -24,10 +24,9 @@ jobs:
2424
- {name: 'mac clang dbg s:addr', os: macos-latest, btype: Debug, cmakeflags: '-DSAN_ADDR=1'}
2525
- {name: 'mac clang rel s:addr', os: macos-latest, btype: RelWithDebInfo, cmakeflags: '-DSAN_ADDR=1'}
2626
- {name: 'mac clang rel s:thread', os: macos-latest, btype: RelWithDebInfo, cmakeflags: '-DSAN_THREAD=1'}
27-
# windows: no santizer with RelWithDebInfo (likely a msvc sanitizer bug... working on it)
28-
# https://developercommunity.visualstudio.com/t/Address-sanitizer-in-Release-may-introdu/10314256?port=1025&fsid=c7b0f725-0959-4e2d-b63e-e4711eb92eca
27+
# windows sanitize address
2928
- {name: 'win msvc dbg s:addr', os: windows-latest, btype: Debug, cmakeflags: '-DSAN_ADDR=1'}
30-
- {name: 'win msvc rel', os: windows-latest, btype: RelWithDebInfo, cmakeflags: ''}
29+
- {name: 'win msvc rel s:addr', os: windows-latest, btype: RelWithDebInfo, cmakeflags: '-DSAN_ADDR=1'}
3130
defaults:
3231
run:
3332
working-directory: ci

0 commit comments

Comments
 (0)