mirror of
https://github.com/gbdev/rgbds.git
synced 2026-09-01 19:38:43 +00:00
Use Ninja as the generator for CMake on FreeBSD
This commit is contained in:
@@ -59,7 +59,7 @@ case "${OS%%-*}" in
|
|||||||
;;
|
;;
|
||||||
freebsd)
|
freebsd)
|
||||||
# GNU `gmake` and `gcc` are dependencies for most repos built by our external tests.
|
# 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)
|
windows)
|
||||||
# GitHub Actions' hosted runners ship CMake 3.x, but versions prior to 4.0.0 ignore `CPACK_PACKAGE_FILE_NAME`.
|
# 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: |
|
prepare: |
|
||||||
.github/scripts/install-deps.sh freebsd
|
.github/scripts/install-deps.sh freebsd
|
||||||
run: | # Leak detection is not supported on FreeBSD, so disable it.
|
run: | # Leak detection is not supported on FreeBSD, so disable it.
|
||||||
cmake -B build --preset develop
|
cmake -B build -G Ninja --preset develop
|
||||||
cmake --build build --verbose -- -k -j "$(getconf _NPROCESSORS_ONLN)"
|
cmake --build build -- -k 0
|
||||||
. .github/scripts/freebsd-env.sh
|
. .github/scripts/freebsd-env.sh
|
||||||
ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build --schedule-random
|
ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build --schedule-random
|
||||||
cmake --install build --verbose
|
cmake --install build --verbose
|
||||||
|
|||||||
Reference in New Issue
Block a user