Skip to content

Commit

Permalink
Download visionOS SDK when building core
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Oct 18, 2024
1 parent f784465 commit 6e8f040
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ jobs:
strategy:
matrix:
target: [macosx, iphoneos, iphonesimulator, appletvos, appletvsimulator, watchos, watchsimulator, maccatalyst, xros, xrsimulator]
env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
steps:
- uses: actions/checkout@v4
- name: Download visionOS
if: matrix.target == 'xros' || matrix.target == 'xrsimulator'
run: xcodebuild -downloadPlatform visionOS

- name: Get Core Version
id: get-core-version
Expand Down Expand Up @@ -50,8 +55,6 @@ jobs:
- name: Build for ${{ matrix.target }}
run: sh tools/${{ matrix.target != 'macosx' && format('build-apple-device.sh -p {0} -c Release', matrix.target) || 'build-cocoa.sh -bm' }} -v ${{ steps.get-core-version.outputs.version }}
working-directory: core
env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer

- name: Archive binaries
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 6e8f040

Please sign in to comment.