Skip to content

Commit 8e6f6fb

Browse files
Turn on some optimization when testing under sanitizer
1 parent f5e485e commit 8e6f6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sanitizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
-DBUILD_EXAMPLES=ON \
3838
-DDOWNLOAD_DOCTEST=ON \
3939
-DCMAKE_BUILD_TYPE=Debug \
40-
-DCMAKE_CXX_FLAGS='-f${{ matrix.flags }} -O0 -g -fno-inline' \
40+
-DCMAKE_CXX_FLAGS='-f${{ matrix.flags }} -O1 -g' \
4141
-G Ninja
4242
- name: Build
4343
run: ninja -C _build

0 commit comments

Comments
 (0)