Skip to content

Commit e84221e

Browse files
committed
Updated GitHub CI
1 parent 9511cab commit e84221e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,72 +25,72 @@ on:
2525
jobs:
2626
macOS:
2727
name: macOS
28-
runs-on: macos-latest
28+
runs-on: macos-15
2929
steps:
3030
- uses: actions/checkout@main
3131
- uses: maxim-lobanov/setup-xcode@v1
3232
with:
33-
xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default
33+
xcode-version: latest-stable
3434
- name: Build
3535
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=macOS,name=Any Mac" | xcpretty && exit ${PIPESTATUS[0]}
3636
- name: Unit Tests
3737
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=macOS" | xcpretty && exit ${PIPESTATUS[0]}
3838

3939
macCatalyst:
4040
name: macCatalyst
41-
runs-on: macos-latest
41+
runs-on: macos-15
4242
steps:
4343
- uses: actions/checkout@main
4444
- uses: maxim-lobanov/setup-xcode@v1
4545
with:
46-
xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default
46+
xcode-version: latest-stable
4747
- name: Build
4848
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=macOS,variant=Mac Catalyst,name=Any Mac" | xcpretty && exit ${PIPESTATUS[0]}
4949
- name: Unit Tests
5050
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=macOS,variant=Mac Catalyst" | xcpretty && exit ${PIPESTATUS[0]}
5151

5252
iOS:
5353
name: iOS
54-
runs-on: macos-latest # this must be macos, GitHub does not offer iOS directly but we can use xcodebuild
54+
runs-on: macos-15
5555
steps:
5656
- uses: actions/checkout@main
5757
- uses: maxim-lobanov/setup-xcode@v1
5858
with:
59-
xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default
59+
xcode-version: latest-stable
6060
- name: Build
6161
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcpretty && exit ${PIPESTATUS[0]}
6262
- name: Unit Tests
6363
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=iOS Simulator,name=iPhone 15" | xcpretty && exit ${PIPESTATUS[0]}
6464

6565
tvOS:
6666
name: tvOS
67-
runs-on: macos-latest # this must be macos, GitHub does not offer tvOS directly but we can use xcodebuild
67+
runs-on: macos-15
6868
steps:
6969
- uses: actions/checkout@main
7070
- uses: maxim-lobanov/setup-xcode@v1
7171
with:
72-
xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default
72+
xcode-version: latest-stable
7373
- name: Build
7474
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=tvOS Simulator,name=Any tvOS Simulator Device" | xcpretty && exit ${PIPESTATUS[0]}
7575
- name: Unit Tests
7676
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=tvOS Simulator,name=Apple TV 4K (3rd generation)" | xcpretty && exit ${PIPESTATUS[0]}
7777

7878
watchOS:
7979
name: watchOS
80-
runs-on: macos-latest # this must be macos, GitHub does not offer watchOS directly but we can use xcodebuild
80+
runs-on: macos-15
8181
steps:
8282
- uses: actions/checkout@main
8383
- uses: maxim-lobanov/setup-xcode@v1
8484
with:
85-
xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default
85+
xcode-version: latest-stable
8686
- name: Build
8787
run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=watchOS Simulator,name=Any watchOS Simulator Device" | xcpretty && exit ${PIPESTATUS[0]}
8888
- name: Unit Tests
8989
run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=watchOS Simulator,name=Apple Watch Series 10 (46mm)" | xcpretty && exit ${PIPESTATUS[0]}
9090

9191
examples:
9292
name: Examples
93-
runs-on: macos-latest
93+
runs-on: macos-15
9494
steps:
9595
- uses: actions/checkout@main
9696
- uses: maxim-lobanov/setup-xcode@v1

0 commit comments

Comments
 (0)