Switch macOS Monterey build to new m1-based VM

This commit is contained in:
Tim Wojtulewicz 2022-08-24 08:28:00 -07:00
parent 0e9c7c77e0
commit a927c4a998
2 changed files with 9 additions and 1 deletions

View file

@ -242,7 +242,7 @@ alpine_task:
# We aim to support both the current and previous macOS release.
macos_monterey_task:
macos_instance:
image: monterey-xcode-13.1
image: ghcr.io/cirruslabs/macos-monterey-base:latest
prepare_script: ./ci/macos/prepare.sh
<< : *CI_TEMPLATE
<< : *MACOS_ENVIRONMENT

View file

@ -9,3 +9,11 @@ brew update
brew upgrade cmake openssl@1.1
brew install swig bison flex ccache
python3 -m pip install --user websockets
# 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.
if [ ! -e /opt/homebrew/opt/openssl ]; then
if [ -d /opt/homebrew/opt/openssl@1.1 ]; then
ln -s /opt/homebrew/opt/openssl@1.1 /opt/homebrew/opt/openssl
fi
fi