Use ASAN in tests.

This commit is contained in:
Nicholas Marriott
2026-07-02 22:55:57 +01:00
parent d718b0eac7
commit fa2a3b679a

View File

@@ -25,12 +25,15 @@ jobs:
- name: ubuntu-24.04-x64 - name: ubuntu-24.04-x64
runner: ubuntu-24.04 runner: ubuntu-24.04
make: make make: make
configure: --enable-utf8proc --enable-asan
# - name: ubuntu-24.04-arm64 # - name: ubuntu-24.04-arm64
# runner: ubuntu-24.04-arm # runner: ubuntu-24.04-arm
# make: make # make: make
# configure: --enable-utf8proc --enable-asan
# - name: macos-26-arm64 # - name: macos-26-arm64
# runner: macos-26 # runner: macos-26
# make: gmake # make: gmake
# configure: --enable-utf8proc
steps: steps:
- name: checkout - name: checkout
@@ -66,10 +69,12 @@ jobs:
- name: build - name: build
run: | run: |
sh autogen.sh sh autogen.sh
./configure --enable-utf8proc ./configure ${{ matrix.configure }}
${{ matrix.make }} -j"$(getconf _NPROCESSORS_ONLN)" ${{ matrix.make }} -j"$(getconf _NPROCESSORS_ONLN)"
- name: test - name: test
run: | env:
cd regress ASAN_OPTIONS: abort_on_error=1:detect_leaks=0
${{ matrix.make }} run: |
cd regress
${{ matrix.make }}