Fix CI on macOS

Apple supplies version 2.3 (from 2006!!), which doesn't support `%empty`.
This commit is contained in:
ISSOtm
2021-01-23 01:50:17 +01:00
parent 70bbb098d3
commit 6623b1dc45
2 changed files with 8 additions and 1 deletions

View File

@@ -4,7 +4,9 @@ case `echo $1 | cut -d '-' -f 1` in
sudo apt-get install -yq bison libpng-dev pkg-config
;;
macos)
brew install libpng pkg-config md5sha1sum
brew install bison libpng pkg-config md5sha1sum
# For the version check below exclusively, re-do this before building
export PATH="/usr/local/opt/bison/bin:$PATH"
;;
*)
echo "WARNING: Cannot install deps for OS '$1'"