|
25 | 25 | jobs:
|
26 | 26 | macOS:
|
27 | 27 | name: macOS
|
28 |
| - runs-on: macos-latest |
| 28 | + runs-on: macos-15 |
29 | 29 | steps:
|
30 | 30 | - uses: actions/checkout@main
|
31 | 31 | - uses: maxim-lobanov/setup-xcode@v1
|
32 | 32 | 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 |
34 | 34 | - name: Build
|
35 | 35 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=macOS,name=Any Mac" | xcpretty && exit ${PIPESTATUS[0]}
|
36 | 36 | - name: Unit Tests
|
37 | 37 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=macOS" | xcpretty && exit ${PIPESTATUS[0]}
|
38 | 38 |
|
39 | 39 | macCatalyst:
|
40 | 40 | name: macCatalyst
|
41 |
| - runs-on: macos-latest |
| 41 | + runs-on: macos-15 |
42 | 42 | steps:
|
43 | 43 | - uses: actions/checkout@main
|
44 | 44 | - uses: maxim-lobanov/setup-xcode@v1
|
45 | 45 | 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 |
47 | 47 | - name: Build
|
48 | 48 | 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]}
|
49 | 49 | - name: Unit Tests
|
50 | 50 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=macOS,variant=Mac Catalyst" | xcpretty && exit ${PIPESTATUS[0]}
|
51 | 51 |
|
52 | 52 | iOS:
|
53 | 53 | 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 |
55 | 55 | steps:
|
56 | 56 | - uses: actions/checkout@main
|
57 | 57 | - uses: maxim-lobanov/setup-xcode@v1
|
58 | 58 | 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 |
60 | 60 | - name: Build
|
61 | 61 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcpretty && exit ${PIPESTATUS[0]}
|
62 | 62 | - name: Unit Tests
|
63 | 63 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "TimecodeKit-CI" -destination "platform=iOS Simulator,name=iPhone 15" | xcpretty && exit ${PIPESTATUS[0]}
|
64 | 64 |
|
65 | 65 | tvOS:
|
66 | 66 | 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 |
68 | 68 | steps:
|
69 | 69 | - uses: actions/checkout@main
|
70 | 70 | - uses: maxim-lobanov/setup-xcode@v1
|
71 | 71 | 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 |
73 | 73 | - name: Build
|
74 | 74 | 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]}
|
75 | 75 | - name: Unit Tests
|
76 | 76 | 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]}
|
77 | 77 |
|
78 | 78 | watchOS:
|
79 | 79 | 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 |
81 | 81 | steps:
|
82 | 82 | - uses: actions/checkout@main
|
83 | 83 | - uses: maxim-lobanov/setup-xcode@v1
|
84 | 84 | 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 |
86 | 86 | - name: Build
|
87 | 87 | 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]}
|
88 | 88 | - name: Unit Tests
|
89 | 89 | 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]}
|
90 | 90 |
|
91 | 91 | examples:
|
92 | 92 | name: Examples
|
93 |
| - runs-on: macos-latest |
| 93 | + runs-on: macos-15 |
94 | 94 | steps:
|
95 | 95 | - uses: actions/checkout@main
|
96 | 96 | - uses: maxim-lobanov/setup-xcode@v1
|
|
0 commit comments