Skip to content

Commit

Permalink
use asan settings for both configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Dec 28, 2024
1 parent 2143893 commit c5eafee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ jobs:
run: cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL_mock

- name: run test egl backend
run: cd test/build && ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl
# We get memory leaks inside of EGL that I can't track down. With ASAN, this means the exit code is always nonzero,
# which is indistinguishable from tests failing. The ASAN_OPTIONS=detect_leaks=0 skips checking leaks for this test
# as a workaround.
run: cd test/build && ASAN_OPTIONS=detect_leaks=0 ./bin/polyscope-test --gtest_catch_exceptions=0 backend=openGL3_egl

build_shared:
strategy:
Expand Down

0 comments on commit c5eafee

Please sign in to comment.