Browse Source

Add lsan CI run

Now that all lsan errors are fixed.

Ref #220
master
Samuel Thibault 3 years ago
parent
commit
2d4fcfaf17
1 changed files with 17 additions and 0 deletions
  1. 17
    0
      .github/workflows/ci.yml

+ 17
- 0
.github/workflows/ci.yml View File

@@ -41,6 +41,23 @@ jobs:
- name: make check
run: ASAN_OPTIONS="detect_leaks=0 new_delete_type_mismatch=0" make check

lsan:

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=leak -g -Og" CFLAGS="-fsanitize=leak -g -Og" ./configure
- name: make
run: LSAN_OPTIONS=fast_unwind_on_malloc=0 make
- name: make check
run: LSAN_OPTIONS=fast_unwind_on_malloc=0 make check

usan:

runs-on: ubuntu-latest

Loading…
Cancel
Save