|
22 | 22 | IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)"
|
23 | 23 |
|
24 | 24 | jobs:
|
25 |
| - automated-code-review: |
26 |
| - name: Automated Code Review |
27 |
| - runs-on: macos-12 |
28 |
| - env: |
29 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
30 |
| - GITHUB_PR_NUM: ${{ github.event.number }} |
31 |
| - XCODE_VERSION: "14.0.1" |
32 |
| - if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }} |
33 |
| - steps: |
34 |
| - |
35 |
| - - uses: ./.github/actions/bootstrap |
36 |
| - - name: Run Danger |
37 |
| - run: bundle exec danger |
38 |
| - - name: Run Fastlane Linting |
39 |
| - run: bundle exec fastlane rubocop |
40 |
| - - name: Run SwiftFormat Linting |
41 |
| - run: ./Scripts/run-linter.sh |
42 |
| - - name: Run Podspec Linting |
43 |
| - run: bundle exec fastlane pod_lint |
44 |
| - |
45 | 25 | build-test-app-and-frameworks:
|
46 | 26 | name: Build Test App and Frameworks
|
47 | 27 | runs-on: macos-14
|
@@ -204,3 +184,49 @@ jobs:
|
204 | 184 | - uses: ./.github/actions/xcode-cache
|
205 | 185 | - name: Build Demo App
|
206 | 186 | run: bundle exec fastlane build_demo
|
| 187 | + |
| 188 | + build-xcode15: |
| 189 | + name: Build SDKs (Xcode 15.0) |
| 190 | + runs-on: macos-13 |
| 191 | + if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }} |
| 192 | + env: |
| 193 | + XCODE_VERSION: "15.0.1" |
| 194 | + steps: |
| 195 | + |
| 196 | + - uses: ./.github/actions/ruby-cache |
| 197 | + - name: List Xcode versions xcversion sees |
| 198 | + run: mdfind "kMDItemCFBundleIdentifier = 'com.apple.dt.Xcode'" |
| 199 | + timeout-minutes: 25 |
| 200 | + - name: Build SwiftUI |
| 201 | + run: bundle exec fastlane test_ui device:"iPhone 15" build_for_testing:true |
| 202 | + timeout-minutes: 25 |
| 203 | + - name: Install Bot SSH Key |
| 204 | + uses: webfactory/[email protected] |
| 205 | + with: |
| 206 | + ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }} |
| 207 | + - name: Build XCFrameworks |
| 208 | + run: bundle exec fastlane build_xcframeworks |
| 209 | + timeout-minutes: 25 |
| 210 | + env: |
| 211 | + MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} |
| 212 | + APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }} |
| 213 | + |
| 214 | + automated-code-review: |
| 215 | + name: Automated Code Review |
| 216 | + runs-on: macos-12 |
| 217 | + env: |
| 218 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 219 | + GITHUB_PR_NUM: ${{ github.event.number }} |
| 220 | + XCODE_VERSION: "14.0.1" |
| 221 | + if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }} |
| 222 | + steps: |
| 223 | + |
| 224 | + - uses: ./.github/actions/bootstrap |
| 225 | + - name: Run Danger |
| 226 | + run: bundle exec danger |
| 227 | + - name: Run Fastlane Linting |
| 228 | + run: bundle exec fastlane rubocop |
| 229 | + - name: Run SwiftFormat Linting |
| 230 | + run: ./Scripts/run-linter.sh |
| 231 | + - name: Run Podspec Linting |
| 232 | + run: bundle exec fastlane pod_lint |
0 commit comments