From c5eafee44d68474778194fd6ca0f779e24a27df4 Mon Sep 17 00:00:00 2001 From: Nicholas Sharp Date: Sat, 28 Dec 2024 15:43:15 -0500 Subject: [PATCH] use asan settings for both configurations --- .github/workflows/linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 0771284f..656953a0 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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: