Skip to content

Commit dbbb02f

Browse files
committed
WIP
1 parent 492f780 commit dbbb02f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
swift:
2929
- "6.0"
3030
- "6.1"
31+
- "6.2"
3132
steps:
3233
- name: Git Checkout
3334
uses: actions/checkout@v4
@@ -37,6 +38,25 @@ jobs:
3738
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
3839
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
3940
41+
- if: matrix.platform == 'iOS' || matrix.platform == 'tvOS'
42+
name: Create Simulator
43+
run: |
44+
sudo xcodes select 26.0
45+
xcrun simctl delete all
46+
if [[ "${{ matrix.swift }}" == "6.2" ]]; then
47+
if [[ "${{ matrix.platform }}" == "iOS" ]]; then
48+
xcrun simctl create "CI iPhone 16 Pro" "com.apple.CoreSimulator.SimDeviceType.iPhone-16-Pro" "com.apple.CoreSimulator.SimRuntime.iOS-26-0"
49+
else
50+
xcrun simctl create "CI Apple TV 4K (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-3rd-generation-4K" "com.apple.CoreSimulator.SimRuntime.tvOS-26-0"
51+
fi
52+
else
53+
if [[ "${{ matrix.platform }}" == "iOS" ]]; then
54+
xcrun simctl create "CI iPhone 15 Pro" "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro" "com.apple.CoreSimulator.SimRuntime.iOS-18-6"
55+
else
56+
xcrun simctl create "CI Apple TV 4K (3rd generation)" "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-3rd-generation-4K" "com.apple.CoreSimulator.SimRuntime.tvOS-18-5"
57+
fi
58+
fi
59+
4060
- name: Test Library
4161
uses: mxcl/xcodebuild@v3
4262
with:

0 commit comments

Comments
 (0)