Skip to content

Commit

Permalink
only detect leaks on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RSchwan committed Mar 2, 2024
1 parent 480e58e commit 0343f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
run: cmake --build . -- -j2

- name: Test piqp
if: runner.os == 'Windows'
if: runner.os != 'Linux'
working-directory: build
run: ctest --test-dir tests --verbose

- name: Test piqp
if: runner.os != 'Windows'
if: runner.os == 'Linux'
working-directory: build
run: ASAN_OPTIONS=detect_leaks=1 LSAN_OPTIONS=suppressions=lsan/suppressions.txt ctest --test-dir tests --verbose

0 comments on commit 0343f0c

Please sign in to comment.