CI: Call 'brew install' for macOS to ensure we're using openssl@3 on all hosts

This commit is contained in:
Tim Wojtulewicz 2023-02-09 13:14:10 -07:00
parent 3ae135e857
commit 62e29b5e20

View file

@ -6,14 +6,14 @@ set -e
set -x set -x
brew update brew update
brew upgrade cmake openssl@1.1 brew upgrade cmake
brew install swig bison flex ccache brew install openssl@3 swig bison flex ccache
python3 -m pip install --user websockets python3 -m pip install --user websockets
# Brew doesn't create the /opt/homebrew/opt/openssl symlink if you install # Brew doesn't create the /opt/homebrew/opt/openssl symlink if you install
# openssl@1.1, only with 3.0. Create the symlink if it doesn't exist. # openssl@1.1, only with 3.0. Create the symlink if it doesn't exist.
if [ ! -e /opt/homebrew/opt/openssl ]; then #if [ ! -e /opt/homebrew/opt/openssl ]; then
if [ -d /opt/homebrew/opt/openssl@1.1 ]; then # if [ -d /opt/homebrew/opt/openssl@1.1 ]; then
ln -s /opt/homebrew/opt/openssl@1.1 /opt/homebrew/opt/openssl # ln -s /opt/homebrew/opt/openssl@1.1 /opt/homebrew/opt/openssl
fi # fi
fi #fi