From e1c8adfcb56abfcd77a7507abe52f2f1acd55fd1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 16 Mar 2022 23:56:55 +0100 Subject: [PATCH] Add tsan CI run Now that all tsan 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 43b36e17..7d609064 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,6 +58,23 @@ jobs: - name: make check run: LSAN_OPTIONS=fast_unwind_on_malloc=0 make check + tsan: + + 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=thread -g -Og" CFLAGS="-fsanitize=thread -g -Og" ./configure + - name: make + run: make + - name: make check + run: make check + usan: runs-on: ubuntu-latest