Skip to content

Commit

Permalink
Add Github Actions job to run tests with ASAN enabled
Browse files Browse the repository at this point in the history
Probably only worth doing this with latest clang.
  • Loading branch information
rocallahan committed Jun 27, 2024
1 parent 0f54cfd commit 553772c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,24 @@ jobs:
run: |
cd build
./test/run_tests "~[quality]"
build-clang13-asan:
runs-on: ubuntu-latest
name: Clang 13 + ASAN

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build mockturtle with ASAN
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-13 -DENABLE_ASAN=ON -DMOCKTURTLE_TEST=ON ..
make run_tests
- name: Run tests with ASAN
run: |
cd build
./test/run_tests "~[quality]"
compile-gcc9:
runs-on: ubuntu-latest
name: Compile everything (GCC 9)
Expand Down

0 comments on commit 553772c

Please sign in to comment.