summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-21 20:03:50 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-21 20:03:50 +0700
commit4a782da73eb9d31cc1cae959b07464fe924d3e45 (patch)
treeb49de30d98d1201c94f75083391d685af95d02d8
parent8690a4a6dbc11891dad55e9a18d1e0f483cd4699 (diff)
downloadlibgd-4a782da73eb9d31cc1cae959b07464fe924d3e45.tar.gz
Let try to suppress *SAN errors from HEIC libs
-rw-r--r--.github/workflows/cmake-release-build.yml4
-rw-r--r--suppression/asan.supp3
2 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/cmake-release-build.yml b/.github/workflows/cmake-release-build.yml
index c23ec61..9922442 100644
--- a/.github/workflows/cmake-release-build.yml
+++ b/.github/workflows/cmake-release-build.yml
@@ -60,7 +60,9 @@ jobs:
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
- run: CTEST_OUTPUT_ON_FAILURE=1 ctest -C ${{env.BUILD_TYPE}}
+ run: |
+ echo "LSAN_OPTIONS=suppressions=${{ github.workspace }}/suppressions/lsan.supp" >> $GITHUB_ENV
+ CTEST_OUTPUT_ON_FAILURE=1 ctest -C ${{env.BUILD_TYPE}}
- name: Configure CMake ASAN
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
diff --git a/suppression/asan.supp b/suppression/asan.supp
new file mode 100644
index 0000000..5d1c428
--- /dev/null
+++ b/suppression/asan.supp
@@ -0,0 +1,3 @@
+leak:libheif.so.1
+leak:libde265.so.0
+leak:libx265.so.179