mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 02:04:22 +00:00
Use ASAN in tests.
This commit is contained in:
13
.github/workflows/regress.yml
vendored
13
.github/workflows/regress.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user