|
77 | 77 | - uses: maxim-lobanov/setup-xcode@v1
|
78 | 78 | with:
|
79 | 79 | xcode-version: latest-stable
|
80 |
| - - name: Prepare Platform |
| 80 | + - name: Boostrap Platforms |
| 81 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 82 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
| 83 | + run: xcrun simctl list |
| 84 | + - name: Download Platform |
| 85 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 86 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
81 | 87 | run: xcodebuild -downloadPlatform iOS
|
82 | 88 | - name: Build
|
83 | 89 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=iOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
|
@@ -115,7 +121,13 @@ jobs:
|
115 | 121 | - uses: maxim-lobanov/setup-xcode@v1
|
116 | 122 | with:
|
117 | 123 | xcode-version: latest-stable
|
118 |
| - - name: Prepare Platform |
| 124 | + - name: Boostrap Platforms |
| 125 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 126 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
| 127 | + run: xcrun simctl list |
| 128 | + - name: Download Platform |
| 129 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 130 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
119 | 131 | run: xcodebuild -downloadPlatform tvOS
|
120 | 132 | - name: Build
|
121 | 133 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=tvOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
|
@@ -153,7 +165,13 @@ jobs:
|
153 | 165 | - uses: maxim-lobanov/setup-xcode@v1
|
154 | 166 | with:
|
155 | 167 | xcode-version: latest-stable
|
156 |
| - - name: Prepare Platform |
| 168 | + - name: Boostrap Platforms |
| 169 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 170 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
| 171 | + run: xcrun simctl list |
| 172 | + - name: Download Platform |
| 173 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 174 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
157 | 175 | run: xcodebuild -downloadPlatform watchOS
|
158 | 176 | - name: Build
|
159 | 177 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=watchOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]}
|
@@ -191,7 +209,13 @@ jobs:
|
191 | 209 | - uses: maxim-lobanov/setup-xcode@v1
|
192 | 210 | with:
|
193 | 211 | xcode-version: latest-stable
|
194 |
| - - name: Prepare Platform(s) |
| 212 | + - name: Boostrap Platforms |
| 213 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 214 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
| 215 | + run: xcrun simctl list |
| 216 | + - name: Download Platform |
| 217 | + # Workaround for Xcode/GitHub runner issues finding simulators. |
| 218 | + # see https://github.com/actions/runner-images/issues/12758#issuecomment-3206748945 |
195 | 219 | run: xcodebuild -downloadPlatform iOS
|
196 | 220 |
|
197 | 221 | - name: Movie Timecode - Resolve Package Dependencies # needed because sometimes xcodebuild fails otherwise
|
|
0 commit comments