From 2a4b84081f151b577c5457991ee60f02c4f0711b Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sat, 12 Feb 2022 09:55:39 +0500 Subject: CI: enable ASAN on Linux --- .github/workflows/linux_test_asan.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/linux_test_asan.yml diff --git a/.github/workflows/linux_test_asan.yml b/.github/workflows/linux_test_asan.yml new file mode 100644 index 0000000..9027024 --- /dev/null +++ b/.github/workflows/linux_test_asan.yml @@ -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 -- cgit v1.2.3-55-g6feb