Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-shawn committed Dec 16, 2024
1 parent 75e84f7 commit 986082a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ jobs:
sanitizers:
- name: Run with thread sanitizer
make_option: sanitize=thread
cxx_flags: -O1 -fno-inline
cxx_flags: ""
instrumented_option: sanitizer-thread
- name: Run with UB sanitizer
make_option: sanitize=undefined
cxx_flags: -O1 -fno-inline
cxx_flags: ""
instrumented_option: sanitizer-undefined
- name: Run under valgrind
make_option: ""
cxx_flags: -O1 -fno-inline
cxx_flags: ""
instrumented_option: valgrind
- name: Run under valgrind-thread
make_option: ""
cxx_flags: -O1 -fno-inline
cxx_flags: ""
instrumented_option: valgrind-thread
- name: Run non-instrumented
make_option: ""
cxx_flags: -O1 -fno-inline
cxx_flags: ""
instrumented_option: none
- name: Run with glibcxx assertions
make_option: ""
cxx_flags: -O1 -fno-inline -D_GLIBCXX_ASSERTIONS
cxx_flags: -D_GLIBCXX_ASSERTIONS
instrumented_option: non
defaults:
run:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

- name: ${{ matrix.sanitizers.name }}
run: |
export CXXFLAGS="${{ matrix.sanitizers.cxx_flags }}"
export CXXFLAGS="-O1 -fno-inline ${{ matrix.sanitizers.cxx_flags }}"
make clean
make -j4 ARCH=x86-64-sse41-popcnt ${{ matrix.sanitizers.make_option }} debug=yes optimize=no build > /dev/null
python3 ../tests/instrumented.py --${{ matrix.sanitizers.instrumented_option }} ./stockfish

0 comments on commit 986082a

Please sign in to comment.