Skip to content

Commit 08816ee

Browse files
committed
ci: use the pre-installed Xcode 12
https://www.appveyor.com/updates/2020/12/27/
1 parent fe9c9da commit 08816ee

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

.appveyor.yml

+19-24
Original file line numberDiff line numberDiff line change
@@ -65,32 +65,27 @@ for:
6565
- path: build/reaper_reapack*.so
6666

6767
- matrix: { only: [ appveyor_build_worker_image: macos, appveyor_build_worker_image: macos-mojave ] }
68-
install: |-
69-
set -e
70-
71-
brew install boost catch2 > /dev/null
72-
73-
case $ARCH in
74-
arm64)
75-
DEPLOY_TARGET=11.0
76-
curl -fsSLO https://cfillion.ca/files/.xcode/Command_Line_Tools_for_Xcode_12.2.dmg
77-
echo 3911b66247e030c7210940cde4230319058bc5c55a81627b8853dab644092c40 Command_Line_Tools_for_Xcode_12.2.dmg | sha256sum -c
78-
hdiutil attach Command_Line_Tools_for_Xcode_12.2.dmg > /dev/null
79-
sudo installer -pkg '/Volumes/Command Line Developer Tools/Command Line Tools.pkg' -target /
80-
;;
81-
*)
82-
DEPLOY_TARGET=10.9
83-
export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.10.sdk
84-
curl -fsSLO https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.10.sdk.tar.xz
85-
echo 608a89db8b4be150a945871230b5ba5d4767a8500bc5fe76ddf10f5cec5ef513 MacOSX10.10.sdk.tar.xz | sha256sum -c
86-
sudo tar xf MacOSX10.10.sdk.tar.xz -C /Library/Developer/CommandLineTools/SDKs
87-
;;
88-
esac
89-
90-
sudo xcode-select -s /Library/Developer/CommandLineTools
68+
install:
69+
- brew install boost catch2 > /dev/null
70+
71+
- |-
72+
case $ARCH in
73+
arm64)
74+
DEPLOY_TARGET=11.0
75+
sudo xcode-select -s /Applications/Xcode-12.3.app
76+
;;
77+
*)
78+
DEPLOY_TARGET=10.9
79+
export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.10.sdk
80+
curl -fsSLO https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.10.sdk.tar.xz
81+
echo 608a89db8b4be150a945871230b5ba5d4767a8500bc5fe76ddf10f5cec5ef513 MacOSX10.10.sdk.tar.xz | sha256sum -c
82+
sudo tar xf MacOSX10.10.sdk.tar.xz -C /Library/Developer/CommandLineTools/SDKs
83+
sudo xcode-select -s /Library/Developer/CommandLineTools
84+
;;
85+
esac
9186
9287
# don't use LibXml2/SQLite3 from Mono
93-
sudo rm -r /Library/Frameworks/Mono.framework
88+
- sudo rm -r /Library/Frameworks/Mono.framework
9489
artifacts:
9590
- path: build/reaper_reapack*.dylib
9691

0 commit comments

Comments
 (0)