Skip to content

Commit

Permalink
Update macOS runner and Xcode version (#202)
Browse files Browse the repository at this point in the history
* Update xcode

* Bump macOS version

* Replace SwiftUICore.View with SwiftUI.View

* Use macos-14 to everything aside from xrOS

* Use Xcode 15.4 where we don't need Xcode 16

* Use `macos-15` with `Xcode 15.4`

* Remove whitespace

* Only use macos 15 and xcode 16 for testing visionOS

* Restore whitespace

---------

Co-authored-by: Itay <[email protected]>
  • Loading branch information
noahsmartin and Itaybre authored Oct 1, 2024
1 parent 8f26ff8 commit 94e16f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Build SnapshottingTests
run: xcodebuild build -scheme SnapshottingTests -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator'
build-visionos:
runs-on: macos-14
runs-on: macos-15

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Xcode select
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
run: sudo xcode-select -s '/Applications/Xcode_16.0.app/Contents/Developer'
- name: Build TestApp
run: cd Examples && xcodebuild build -scheme DemoApp -sdk xrsimulator -destination 'generic/platform=visionOS Simulator' -project DemoApp/DemoApp.xcodeproj
- name: Build Snapshotting
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Xcode select
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
- name: Build Test Watch App
run: cd Examples && xcodebuild build -scheme 'Demo Watch App' -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 9 (41mm)' -project DemoApp/DemoApp.xcodeproj CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
run: cd Examples && xcodebuild build -scheme 'Demo Watch App' -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' -project DemoApp/DemoApp.xcodeproj CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
- name: Build Snapshotting
run: xcodebuild build -scheme Snapshotting -sdk watchsimulator -destination 'generic/platform=watchOS Simulator'
- name: Build SnapshottingTests
Expand Down

0 comments on commit 94e16f9

Please sign in to comment.