macOS CI: Don't brew-install packages provided in the base image already (#15877)

It's slow and prone to sporadic failures (possibly caused by a missing
initial `brew update` invocation), and seems superfluous for the
used macOS 12+13 GitHub Actions images, according to the CI logs.
This commit is contained in:
Martin Kinkelin 2023-12-04 14:05:17 +01:00 committed by GitHub
parent 75869864da
commit 6662f4a7f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,9 +27,6 @@ if [ "$OS_NAME" == "linux" ]; then
fi
apt-get -q update
apt-get install -yq $packages
elif [ "$OS_NAME" == "osx" ]; then
# required for dlang install.sh
brew install gnupg libarchive xz llvm
elif [ "$OS_NAME" == "freebsd" ]; then
packages="git gmake devel/llvm12"
if [ "$HOST_DMD" == "dmd-2.079.0" ] ; then