macOS CI is reporting some warnings about unavailable versions of some
utilities. I'll take a stab at fixing those...
#!/bin/sh
if [ "$1" = "prepare" ]
then
- set -x
- brew uninstall openssl@1.0.2t > /dev/null
- brew uninstall python@2.7.17 > /dev/null
- brew untap local/openssl > /dev/null
- brew untap local/python2 > /dev/null
- brew update > /dev/null
- brew upgrade > /dev/null
set -x -e
- for pkg in \
+ #Uncommenting these adds a full minute to the CI time
+ #brew update > /dev/null
+ #brew upgrade > /dev/null
+
+ # This does an upgrade if the package is already installed
+ brew install \
autoconf \
automake \
libtool \
zstd \
libxml2 \
openssl
- do
- brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg
- done
fi