Use Ninja as the generator for CMake on FreeBSD

This commit is contained in:
Rangi
2026-07-30 02:33:47 +02:00
committed by Eldred Habert
parent 70d8d67ffc
commit 9d854114ea
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ case "${OS%%-*}" in
;;
freebsd)
# GNU `gmake` and `gcc` are dependencies for most repos built by our external tests.
pkg install -y bash bison cmake git png gmake lang/gcc python3 py312-pillow
pkg install -y bash bison cmake ninja git png gmake lang/gcc python3 py312-pillow
;;
windows)
# GitHub Actions' hosted runners ship CMake 3.x, but versions prior to 4.0.0 ignore `CPACK_PACKAGE_FILE_NAME`.
+2 -2
View File
@@ -399,8 +399,8 @@ jobs:
prepare: |
.github/scripts/install-deps.sh freebsd
run: | # Leak detection is not supported on FreeBSD, so disable it.
cmake -B build --preset develop
cmake --build build --verbose -- -k -j "$(getconf _NPROCESSORS_ONLN)"
cmake -B build -G Ninja --preset develop
cmake --build build -- -k 0
. .github/scripts/freebsd-env.sh
ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build --schedule-random
cmake --install build --verbose