diff options
| author | Ilya Shipitsin <chipitsine@gmail.com> | 2022-02-12 09:55:39 +0500 |
|---|---|---|
| committer | Ilya Shipitsin <chipitsine@gmail.com> | 2022-02-12 09:55:39 +0500 |
| commit | 2a4b84081f151b577c5457991ee60f02c4f0711b (patch) | |
| tree | 83918ec46a254bbd5c231f0e5685f9fe0a7a0c99 /.github/workflows | |
| parent | a27642bf418cb1d464d2d19226e5a13007068cf6 (diff) | |
| download | portable-2a4b84081f151b577c5457991ee60f02c4f0711b.tar.gz portable-2a4b84081f151b577c5457991ee60f02c4f0711b.tar.bz2 portable-2a4b84081f151b577c5457991ee60f02c4f0711b.zip | |
CI: enable ASAN on Linux
Diffstat (limited to '.github/workflows')
| -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 | ||
