Skip to content

Commit

Permalink
Work around xcode shenanigans on GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 23, 2021
1 parent 8952118 commit 60b8f95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/native-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Workaround xcode shenanigans
if: matrix.target == 'aarch64-apple-darwin'
# https://github.com/actions/virtual-environments/issues/2557#issuecomment-769611326
run: |
sudo xcode-select -s "/Applications/Xcode_12.3.app"
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
- name: Build
env:
LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib:$LIBRARY_PATH
Expand Down

0 comments on commit 60b8f95

Please sign in to comment.