From c790af66d0f6326f378254e6f814e70cc3e18810 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 15 Mar 2022 04:07:50 +0100 Subject: [PATCH] Add asan CI run Now that all asan errors are fixed. Ref #220 --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5670eb1..aa44511e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,3 +23,20 @@ jobs: run: make - name: make check run: make check + + asan: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: dependencies + run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown + - name: autoconf + run: ./autogen.sh ; chmod -x INSTALL m4/*.m4 + - name: configure + run: CXXFLAGS="-fsanitize=address -g -Og" CFLAGS="-fsanitize=address -g -Og" ./configure + - name: make + run: ASAN_OPTIONS="detect_leaks=0 new_delete_type_mismatch=0" make + - name: make check + run: ASAN_OPTIONS="detect_leaks=0 new_delete_type_mismatch=0" make check