Add valgrind CI run

Now that all errors are fixed.
This commit is contained in:
Samuel Thibault
2022-04-01 00:22:26 +02:00
parent 5435f465c8
commit 02dd413a32
4 changed files with 28 additions and 7 deletions
+17
View File
@@ -108,3 +108,20 @@ jobs:
run: UBSAN_OPTIONS="halt_on_error=1" make
- name: make check
run: UBSAN_OPTIONS="halt_on_error=1" make check
valgrind:
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 libtool-bin valgrind
- name: autoconf
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
- name: configure
run: ./configure
- name: make
run: VALGRIND="libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1" make
- name: make check
run: VALGRIND="libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1" make check