File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1111 strategy :
1212 fail-fast : false
1313 matrix :
14- os : [ubuntu-latest, macos-latest, windows-latest]
14+ os : [ ubuntu-latest, macos-latest, windows-latest ]
1515
1616 runs-on : ${{ matrix.os }}
1717
4141 # Run Tests
4242 - name : Run tests
4343 run : ctest --test-dir build --output-on-failure -C Debug
44+
45+ sanitize :
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v4
49+
50+ - name : Configure (ASan + UBSan)
51+ run : >
52+ cmake -S . -B build-sanitize
53+ -DCMAKE_C_COMPILER=clang
54+ -DSMILE_DEV=ON
55+ -DSMILE_INFO=OFF
56+ -DSMILE_WARN=OFF
57+ -DCMAKE_C_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer"
58+ -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address,undefined"
59+
60+ - name : Build
61+ run : cmake --build build-sanitize --config Debug
62+
63+ - name : Run tests
64+ run : ctest --test-dir build-sanitize --output-on-failure -C Debug
You can’t perform that action at this time.
0 commit comments