Skip to content

Commit 917d00d

Browse files
committed
_ci-mac-homebrew.sh: install rosetta on arm appveyor runner
1 parent e525b71 commit 917d00d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_ci-mac-homebrew.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ if [[ "${CW_CONFIG:-}" != *'mac'* ]] || [[ "${CW_CONFIG:-}" = *'llvm'* ]]; then
1313
fi
1414

1515
if [[ "${CW_CONFIG:-}" = *'win'* ]]; then
16+
if [ -n "${APPVEYOR_ACCOUNT_NAME:-}" ] && \
17+
[ "$(uname -m)" = 'arm64' ] && \
18+
[ ! -f '/Library/Apple/usr/libexec/oah/libRosettaRuntime' ]; then
19+
softwareupdate --install-rosetta --agree-to-license
20+
fi
1621
extra+=' mingw-w64 osslsigncode wine-stable openssh'
1722
if [[ "${CW_CONFIG:-}" = *'boringssl'* ]] || [[ "${CW_CONFIG:-}" = *'awslc'* ]]; then
1823
extra+=' nasm'

0 commit comments

Comments
 (0)