macOS CI: Upgrade GNU make in ci/cirrusci.sh (#17034)

This should fix Phobos CI, which expects such prerequisites provisioning
to happen in DMD's ci/cirrusci.sh. Because this YAML addition hasn't been
duplicated in Phobos, Phobos CI is still using the default make on macOS,
which is too old and doesn't support the newly required `private` modifier.
This commit is contained in:
Martin Kinkelin 2024-10-27 14:27:05 +01:00 committed by GitHub
parent 6c09f58feb
commit dbba866c71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -27,6 +27,10 @@ if [ "$OS_NAME" == "linux" ]; then
fi
apt-get -q update
apt-get install -yq $packages
elif [ "$OS_NAME" == "osx" ]; then
# upgrade GNU make
brew install make
sudo ln -s /usr/local/opt/make/libexec/gnubin/make /usr/local/bin/make
elif [ "$OS_NAME" == "freebsd" ]; then
packages="git gmake devel/llvm12"
if [ "$HOST_DMD" == "dmd-2.079.0" ] ; then