Land #732, CI: enable ASAN on linux
This commit is contained in:
commit
2f43da43c1
23
.github/workflows/linux_test_asan.yml
vendored
Normal file
23
.github/workflows/linux_test_asan.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: linux_ci_asan
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-native:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
compiler: [gcc]
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: false
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
ARCH: native
|
||||
CFLAGS: "-ggdb -fsanitize=address"
|
||||
LDFLAGS: "-fsanitize=address"
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
name: ${{ matrix.compiler }} - ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run CI script
|
||||
run: ./scripts/test
|
Loading…
x
Reference in New Issue
Block a user