Skip to content

Run CI on macOS 15 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 29, 2024
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
pod-lint:
name: Pod Lint
runs-on: macos-14
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=6.0
spm-16:
name: Build Xcode 16
runs-on: macos-14
runs-on: macos-15
strategy:
matrix:
platforms: [
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
spm-16-swift:
name: Swift Build Xcode 16
runs-on: macos-14
runs-on: macos-15
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
20 changes: 10 additions & 10 deletions Scripts/build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,40 +31,40 @@ enum Platform: String, CaseIterable, CustomStringConvertible {
var destination: String {
switch self {
case .iOS_18:
return "platform=iOS Simulator,OS=18.0,name=iPad Pro (12.9-inch) (6th generation)"
"platform=iOS Simulator,OS=18.0,name=iPad (10th generation)"

case .tvOS_18:
return "platform=tvOS Simulator,OS=18.0,name=Apple TV"
"platform=tvOS Simulator,OS=18.0,name=Apple TV"

case .macOS_15,
.macCatalyst_15:
return "platform=OS X"
"platform=OS X"

case .watchOS_11:
return "OS=11.0,name=Apple Watch Series 7 (45mm)"
"OS=11.0,name=Apple Watch Series 10 (46mm)"

case .visionOS_2:
return "OS=2.0,name=Apple Vision Pro"
"OS=2.0,name=Apple Vision Pro"
}
}

var sdk: String {
switch self {
case .iOS_18:
return "iphonesimulator"
"iphonesimulator"

case .tvOS_18:
return "appletvsimulator"
"appletvsimulator"

case .macOS_15,
.macCatalyst_15:
return "macosx15.0"
"macosx15.0"

case .watchOS_11:
return "watchsimulator"
"watchsimulator"

case .visionOS_2:
return "xrsimulator"
"xrsimulator"
}
}

Expand Down