Skip to content

Commit f303144

Browse files
committed
fix macOS ARM builds that broke in the latest image update
https://www.appveyor.com/updates/2022/02/27/
1 parent 0b8587c commit f303144

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.appveyor.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,15 @@ for:
9292
# don't use LibXml2/SQLite3 from Mono
9393
- sudo rm -r /Library/Frameworks/Mono.framework
9494

95-
# https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
96-
- sudo curl -k https://curl.se/ca/cacert.pem -o /etc/ssl/cert.pem
97-
98-
# backport vcpkg bugfixes (TODO: remove after future image updates)
99-
- git -C ~/vcpkg fetch
100-
- git -C ~/vcpkg restore -s 38d6712d5644ede4ff597e889549f5d540dcf8ff ports/catch2
95+
- |-
96+
if [ "$appveyor_build_worker_image" = "macos-mojave" ]; then
97+
# https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/
98+
- sudo curl -k https://curl.se/ca/cacert.pem -o /etc/ssl/cert.pem
99+
100+
# backport vcpkg bugfixes
101+
git -C ~/vcpkg fetch
102+
git -C ~/vcpkg restore -s 38d6712d5644ede4ff597e889549f5d540dcf8ff ports/catch2
103+
fi
101104
artifacts:
102105
- path: build/reaper_reapack*.dylib
103106

0 commit comments

Comments
 (0)