From aa68c3207fb9dc499e46e83d8722ab3b3e4d3b47 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sun, 3 Nov 2024 21:16:20 +0100 Subject: [PATCH] CI: disable ASAN detect_container_overflow on macos-latest --- .github/workflows/test.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9ff907b0..04e232a5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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