Skip to content

Commit

Permalink
chore(ci): update Vision OS workflow to macOS 15 and XR OS 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
philprime committed Nov 5, 2024
1 parent d069276 commit 7c4aff6
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,23 @@ concurrency:
jobs:
unit-tests:
name: Unit Tests (${{ matrix.build.sdk }})
runs-on: macos-14
runs-on: macos-15
timeout-minutes: 30
strategy:
matrix:
build: [
{ sdk: 'iphonesimulator', destination: 'platform=iOS Simulator,OS=17.5,name=iPhone 15 Pro', action: 'test' },
{ sdk: 'xros', destination: 'platform=visionOS Simulator,OS=1.2,name=Apple Vision Pro', action: 'build' }
]
build:
[
{
sdk: "iphonesimulator",
destination: "platform=iOS Simulator,OS=17.5,name=iPhone 15 Pro",
action: "test",
},
{
sdk: "xros",
destination: "platform=visionOS Simulator,OS=2.1,name=Apple Vision Pro",
action: "build",
},
]
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand All @@ -30,8 +39,10 @@ jobs:
xcode-version: latest-stable
- name: Check environment
run: |
xcodebuild -version
swift --version
set -ex
xcodebuild -version
swift --version
xcrun simctl list
- name: Run Tests
run: |
set -o pipefail && \
Expand Down Expand Up @@ -78,8 +89,8 @@ jobs:
xcode-version: latest-stable
- name: Check environment
run: |
xcodebuild -version
swift --version
xcodebuild -version
swift --version
- name: Run tests
run: swift test --parallel --enable-code-coverage
- name: Generate code coverage reports
Expand Down

0 comments on commit 7c4aff6

Please sign in to comment.