diff options
-rw-r--r-- | .github/workflows/linux_test_asan.yml | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
1 | name: linux_ci_asan | ||
2 | |||
3 | on: [push, pull_request] | ||
4 | |||
5 | jobs: | ||
6 | build-native: | ||
7 | strategy: | ||
8 | matrix: | ||
9 | os: [ubuntu-latest] | ||
10 | compiler: [gcc] | ||
11 | runs-on: ${{ matrix.os }} | ||
12 | continue-on-error: false | ||
13 | env: | ||
14 | CC: ${{ matrix.compiler }} | ||
15 | ARCH: native | ||
16 | CFLAGS: "-ggdb -fsanitize=address" | ||
17 | LDFLAGS: "-fsanitize=address" | ||
18 | CTEST_OUTPUT_ON_FAILURE: 1 | ||
19 | name: ${{ matrix.compiler }} - ${{ matrix.os }} | ||
20 | steps: | ||
21 | - uses: actions/checkout@v2 | ||
22 | - name: Run CI script | ||
23 | run: ./scripts/test | ||