|
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]}
|
|
0 commit comments