Move FreeBSD deps install to common CI script

Making the OS filter in test driver consistent as per
https://github.com/gbdev/rgbds/pull/1899#discussion_r2942998932
This commit is contained in:
ISSOtm
2026-03-09 16:22:59 -04:00
committed by Rangi
parent 37f57a752f
commit 06e5386d93
3 changed files with 9 additions and 10 deletions

View File

@@ -376,14 +376,9 @@ jobs:
release: "14.3"
usesh: true
prepare: |
pkg install -y \
bash \
bison \
cmake \
git \
png
.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++ -DUSE_EXTERNAL_TESTS=OFF -DTESTS_OS_NAME=bsd
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=c++ -DUSE_EXTERNAL_TESTS=OFF -DTESTS_OS_NAME=freebsd
cmake --build build -j4 --verbose
cmake --install build --verbose
cmake --build build --target test