Skip to content

Commit 1462c19

Browse files
committed
Add Github Actions job to run tests with ASAN enabled
Probably only worth doing this with latest clang.
1 parent e7c24b3 commit 1462c19

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/linux.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,24 @@ jobs:
117117
run: |
118118
cd build
119119
./test/run_tests "~[quality]"
120+
build-clang13-asan:
121+
runs-on: ubuntu-latest
122+
name: Clang 13 + ASAN
123+
124+
steps:
125+
- uses: actions/checkout@v1
126+
with:
127+
submodules: true
128+
- name: Build mockturtle with ASAN
129+
run: |
130+
mkdir build
131+
cd build
132+
cmake -DCMAKE_CXX_COMPILER=clang++-13 -DENABLE_ASAN=ON -DMOCKTURTLE_TEST=ON ..
133+
make run_tests
134+
- name: Run tests with ASAN
135+
run: |
136+
cd build
137+
./test/run_tests "~[quality]"
120138
compile-gcc9:
121139
runs-on: ubuntu-latest
122140
name: Compile everything (GCC 9)

0 commit comments

Comments
 (0)