Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@ jobs:
run: bundle install
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
- name: Download iOS
if: matrix.platforms == 'iOS_18'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform iOS -buildVersion 22E238
- name: Download tvOS
if: matrix.platforms == 'tvOS_18'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform tvOS -buildVersion 22K154
- name: Download watchOS
if: matrix.platforms == 'watchOS_11'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform watchOS -buildVersion 22S99
- name: Build and Test Framework
run: Scripts/build.swift ${{ matrix.platforms }} xcode
- name: Upload Coverage Reports
Expand Down Expand Up @@ -94,6 +112,24 @@ jobs:
run: bundle install
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_16.4.app/Contents/Developer
- name: Download iOS
if: matrix.platforms == 'iOS_18'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform iOS -buildVersion 22E238
- name: Download tvOS
if: matrix.platforms == 'tvOS_18'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform tvOS -buildVersion 22K154
- name: Download watchOS
if: matrix.platforms == 'watchOS_11'
run: |
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform watchOS -buildVersion 22S99
- name: Build Framework
run: Scripts/build.swift ${{ matrix.platforms }} spm
readme-validation:
Expand Down
2 changes: 1 addition & 1 deletion Scripts/build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum Platform: String, CustomStringConvertible {
var destination: String {
switch self {
case .iOS_18:
"platform=iOS Simulator,OS=18.4,name=iPad (10th generation)"
"platform=iOS Simulator,OS=18.4,name=iPhone 16"

case .tvOS_18:
"platform=tvOS Simulator,OS=18.2,name=Apple TV"
Expand Down