Skip to content

Commit a4cf419

Browse files
committed
guard xcode-select
1 parent 060da29 commit a4cf419

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/multibuild.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ jobs:
7171
pip install virtualenv
7272
- name: Build and Install Wheels
7373
run: |
74-
sudo xcode-select -switch /Applications/Xcode_12.2.app
75-
export SDKROOT=/Applications/Xcode_12.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
74+
if [[ "$PLAT" == "arm64" ]]; then
75+
sudo xcode-select -switch /Applications/Xcode_12.2.app
76+
export SDKROOT=/Applications/Xcode_12.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
77+
fi
7678
source travis-ci/build_steps.sh
7779
echo "------ BEFORE BUILD ---------"
7880
before_build

0 commit comments

Comments
 (0)