mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-20 05:44:32 +00:00
Use Ninja as the generator for CMake on FreeBSD
This commit is contained in:
@@ -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`.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user