CI: enable ASAN on Linux

This commit is contained in:
Ilya Shipitsin 2022-02-12 09:55:39 +05:00
parent a27642bf41
commit 2a4b84081f

23
.github/workflows/linux_test_asan.yml vendored Normal file
View 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