Skip to content

Commit

Permalink
CI: disable ASAN detect_container_overflow on macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Nov 3, 2024
1 parent a901f53 commit aa68c32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure ASAN
if: ${{ startsWith(matrix.os, 'macos-latest') }}
run: |
# see https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives
# since we don't build gtest with ASAN, we hit this issue on macos-latest
echo "ASAN_OPTIONS=detect_container_overflow=0" >> $GITHUB_ENV
- name: Build DEBUG
run: make native CONF=DEBUG WITH_ASAN=true ${{ matrix.extra_make_args }} -j4
- name: Run tests
Expand Down

0 comments on commit aa68c32

Please sign in to comment.