Run external tests for FreeBSD (#2035)

This requires aliasing `make` to `gmake` and `python` to `python3`
This commit is contained in:
Rangi
2026-07-29 19:45:07 -04:00
committed by GitHub
parent ca2b8e4cde
commit 70d8d67ffc
3 changed files with 16 additions and 2 deletions
+11
View File
@@ -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"
+2 -1
View File
@@ -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`.