diff --git a/.github/workflows/linux_and_macos.yml b/.github/workflows/linux_and_macos.yml index 4fb5fbe..e3923ee 100644 --- a/.github/workflows/linux_and_macos.yml +++ b/.github/workflows/linux_and_macos.yml @@ -156,8 +156,8 @@ jobs: as_needed='-Wl,--as-needed' fi - # musl-gcc and gcc/macOS do not seem to support linking with sanitizers - if [[ ${{ matrix.cc }} =~ musl || ${{ matrix.cc }} =~ gcc && ${{ matrix.runs-on }} =~ macos ]]; then + # musl-gcc and compilers on macOS do not seem to support linking with sanitizers + if [[ ${{ matrix.cc }} =~ musl || ${{ matrix.runs-on }} =~ macos ]]; then sanitizer= else # ASan: https://clang.llvm.org/docs/AddressSanitizer.html