Skip to content

Commit

Permalink
chore(ci): update Vision OS workflow to macOS 15 and XR OS 2.1 (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
philprime authored Nov 5, 2024
1 parent d069276 commit 8b4a00d
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,25 @@ concurrency:
jobs:
unit-tests:
name: Unit Tests (${{ matrix.build.sdk }})
runs-on: macos-14
runs-on: ${{ matrix.build.runs-on }}
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=18.0,name=iPhone 16 Pro",
action: "test",
runs-on: "macos-14",
},
{
sdk: "xros",
destination: "platform=visionOS Simulator,OS=2.1,name=Apple Vision Pro",
action: "build",
runs-on: "macos-15",
},
]
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand All @@ -30,8 +41,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 +91,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: swift test --parallel --enable-code-coverage
- name: Generate code coverage reports
Expand Down

0 comments on commit 8b4a00d

Please sign in to comment.