aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2022-02-27 05:18:58 -0600
committerBrent Cook <busterb@gmail.com>2022-02-27 05:18:58 -0600
commit2f43da43c1b0bf55881ab9cd61b3d90ce03c485d (patch)
tree4de84bd8cc2814f94211a0428c14df1b1db8da4d
parent6b06bed084292702ce8983dfbdad2efcb5b3db2e (diff)
parent2a4b84081f151b577c5457991ee60f02c4f0711b (diff)
downloadportable-2f43da43c1b0bf55881ab9cd61b3d90ce03c485d.tar.gz
portable-2f43da43c1b0bf55881ab9cd61b3d90ce03c485d.tar.bz2
portable-2f43da43c1b0bf55881ab9cd61b3d90ce03c485d.zip
Land #732, CI: enable ASAN on linux
-rw-r--r--.github/workflows/linux_test_asan.yml23
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 @@
1name: linux_ci_asan
2
3on: [push, pull_request]
4
5jobs:
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