From 68d69b9e278071fd372d20bb7ff93d46eb85c08e Mon Sep 17 00:00:00 2001 From: Edgar Bonet Date: Mon, 20 Jul 2026 22:41:25 +0200 Subject: [PATCH] CI: disable sanitizers on macOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, the only macOS job with sanitizers enabled is “clang-20/bsdmake on macos-26”. This jobs fails,[1] as clang miscompiles ttyplot into a binary that produces no output. Fix the job by disabling the sanitizers. Now they are disabled on all macOS jobs. [1] https://github.com/tenox7/ttyplot/actions/runs/29558174584/job/87814737973 --- .github/workflows/linux_and_macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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