Use develop preset on FreeBSD

Leak detection is not supported, so we have to disable it.
This commit is contained in:
ISSOtm authored and Eldred Habert committed 2026-03-19 20:30:12 +01:00
1 parent 2fb64816a9
commit 145473d9bd
1 file changed
+3 -3
+3 -3
View File
@@ -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