mirror of
https://github.com/gbdev/rgbds.git
synced 2026-03-25 14:23:04 +00:00
Use develop preset on FreeBSD
Leak detection is not supported, so we have to disable it.
This commit is contained in:
6
.github/workflows/testing.yml
vendored
6
.github/workflows/testing.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user