From fa2a3b679ad4267031549b159bb70932afc873fc Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 2 Jul 2026 22:55:57 +0100 Subject: [PATCH] Use ASAN in tests. --- .github/workflows/regress.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/regress.yml b/.github/workflows/regress.yml index 883ee720e..6282943b0 100644 --- a/.github/workflows/regress.yml +++ b/.github/workflows/regress.yml @@ -25,12 +25,15 @@ jobs: - name: ubuntu-24.04-x64 runner: ubuntu-24.04 make: make + configure: --enable-utf8proc --enable-asan # - name: ubuntu-24.04-arm64 # runner: ubuntu-24.04-arm # make: make + # configure: --enable-utf8proc --enable-asan # - name: macos-26-arm64 # runner: macos-26 # make: gmake + # configure: --enable-utf8proc steps: - name: checkout @@ -66,10 +69,12 @@ jobs: - name: build run: | sh autogen.sh - ./configure --enable-utf8proc + ./configure ${{ matrix.configure }} ${{ matrix.make }} -j"$(getconf _NPROCESSORS_ONLN)" - name: test - run: | - cd regress - ${{ matrix.make }} + env: + ASAN_OPTIONS: abort_on_error=1:detect_leaks=0 + run: | + cd regress + ${{ matrix.make }}