Skip to content

Commit

Permalink
Make sure test simulator is available on runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachNagengast committed Dec 21, 2024
1 parent 250ed9d commit 75bf130
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/development-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ jobs:
matrix:
include:
- os: macos-13-xlarge
ios-version: "16.1"
ios-version: "17.2"
ios-device: "iPhone 14"
xcode-version: "14.1"
xcode-version: "15.2"
- os: macos-14
ios-version: "17.0.1"
ios-version: "17.2"
ios-device: "iPhone 15"
xcode-version: "15.0.1"
xcode-version: "15.2"
uses: ./.github/workflows/unit-tests.yml
with:
macos-runner: ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
matrix:
include:
- os: macos-13-xlarge
ios-version: "16.1" # Oldest available version on macOS 13
ios-version: "17.2" # TODO: Download older simulators for macOS 13
ios-device: "iPhone 14"
xcode-version: "14.1"
xcode-version: "15.2"
- os: macos-14
ios-version: "17.0.1" # Oldest available version on macOS 14
ios-version: "17.2"
ios-device: "iPhone 15"
xcode-version: "15.0.1"
xcode-version: "15.2"
- os: macos-15
ios-version: "18.2" # Latest available version
ios-device: "iPhone 16"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
if [[ "${{ matrix.run-config['name'] }}" != "macOS" ]]; then
xcodebuild -downloadPlatform ${{ matrix.run-config['name'] }}
fi
echo "Runtimes for testing:"
xcrun simctl list runtimes
echo "Destinations for testing:"
xcodebuild test-without-building -only-testing WhisperKitTests/UnitTests -scheme whisperkit-Package -showdestinations
- name: Boot Simulator and Wait
Expand Down

0 comments on commit 75bf130

Please sign in to comment.