From 127968a6f6ca861cc6e7c282c2cfdac0e76a48b5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 19 Mar 2022 10:42:15 +0100 Subject: [PATCH] Add msan CI run Now that all memory 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 0ac4b3b3..6ef3bf4d 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 + msan: + + 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 clang + - name: autoconf + run: ./autogen.sh ; chmod -x INSTALL m4/*.m4 + - name: configure + run: CXX=clang++ CC=clang CXXFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -g -Og" CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -g -Og" ./configure --without-pcaudiolib + - name: make + run: make + - name: make check + run: make check + tsan: runs-on: ubuntu-latest