mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-20 05:44:32 +00:00
Run external tests for FreeBSD (#2035)
This requires aliasing `make` to `gmake` and `python` to `python3`
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
local_bin_dir="$PWD/.local/bin"
|
||||
|
||||
mkdir -p "$local_bin_dir"
|
||||
|
||||
# Alias `make` to `gmake` and `python` to `python3` for use by external tests.
|
||||
ln -s "$(which gmake)" "$local_bin_dir/make"
|
||||
ln -s "$(which python3)" "$local_bin_dir/python"
|
||||
|
||||
export PATH="$local_bin_dir:$PATH"
|
||||
@@ -58,7 +58,8 @@ case "${OS%%-*}" in
|
||||
printf 'PATH=%s\n' "$PATH" >>"$GITHUB_ENV" # Make it available to later CI steps too.
|
||||
;;
|
||||
freebsd)
|
||||
pkg install -y bash bison cmake git png
|
||||
# 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
|
||||
;;
|
||||
windows)
|
||||
# GitHub Actions' hosted runners ship CMake 3.x, but versions prior to 4.0.0 ignore `CPACK_PACKAGE_FILE_NAME`.
|
||||
|
||||
Reference in New Issue
Block a user