ci: fix macOS runner

It seems the GitHub Actions macOS image has a conflicting python in
/usr/local, invoke:

brew -v install python
brew link --overwrite python

, before installing dependencies.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2022-12-29 19:32:17 +00:00 committed by Fabrice de Gans
parent 6307348cbc
commit 6a4115ca45
1 changed files with 4 additions and 0 deletions

View File

@ -1199,6 +1199,10 @@ brew_installdeps() {
brews="$brews sfml" brews="$brews sfml"
# fi # fi
# This is necessary for the GitHub Actions CI:
brew -v install python
brew link --overwrite python
check brew -v install -f $brews check brew -v install -f $brews
for brew in gettext wxwidgets; do for brew in gettext wxwidgets; do