CI: enable ASAN on Linux
This commit is contained in:
parent
a27642bf41
commit
2a4b84081f
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