From 145473d9bd2cbf3f2e92f9a3a5db98c6b0b38765 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 18 Mar 2026 03:02:59 +0100 Subject: [PATCH] Use `develop` preset on FreeBSD Leak detection is not supported, so we have to disable it. --- .github/workflows/testing.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index b1b0fa67..89d23a3e 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -372,8 +372,8 @@ jobs: usesh: true prepare: | .github/scripts/install_deps.sh freebsd - run: | # FreeBSD `c++` compiler does not support `make develop` sanitizers ASan or UBSan - cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=c++ -DTESTS_RUN_EXTERNAL=OFF -DTESTS_OS_NAME=freebsd + run: | # Leak detection is not supported on FreeBSD, so disable it. + cmake -S . -B build --preset develop -DTESTS_RUN_EXTERNAL=OFF -DTESTS_OS_NAME=freebsd cmake --build build --verbose cmake --install build --verbose - ctest --test-dir build --verbose + ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build --verbose