|
13 | 13 |
|
14 | 14 | jobs:
|
15 | 15 |
|
| 16 | + pod_lib_lint: |
| 17 | + # Don't run on private repo unless it is a PR. |
| 18 | + if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' |
| 19 | + |
| 20 | + runs-on: macOS-latest |
| 21 | + steps: |
| 22 | + - uses: actions/checkout@v2 |
| 23 | + - name: Setup Bundler |
| 24 | + run: scripts/setup_bundler.sh |
| 25 | + - name: FirebaseInAppMessaging |
| 26 | + run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec |
| 27 | + |
| 28 | + tests: |
| 29 | + # Don't run on private repo unless it is a PR. |
| 30 | + if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' |
| 31 | + |
| 32 | + runs-on: macOS-latest |
| 33 | + strategy: |
| 34 | + matrix: |
| 35 | + platform: [iOS, iPad] |
| 36 | + steps: |
| 37 | + - uses: actions/checkout@v2 |
| 38 | + - name: Setup Bundler |
| 39 | + run: scripts/setup_bundler.sh |
| 40 | + - name: Prereqs |
| 41 | + run: scripts/install_prereqs.sh InAppMessaging ${{ matrix.platform }} xcodebuild |
| 42 | + - name: Build and test |
| 43 | + run: scripts/third_party/travis/retry.sh scripts/build.sh InAppMessaging ${{ matrix.platform }} xcodebuild |
| 44 | + |
16 | 45 | spm:
|
17 | 46 | # Don't run on private repo unless it is a PR.
|
18 | 47 | if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
|
|
26 | 55 | - name: iOS Unit Tests
|
27 | 56 | run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseInAppMessaging-Beta iOS spmbuildonly
|
28 | 57 |
|
| 58 | + fiam-cron-only: |
| 59 | + # Don't run on private repo. |
| 60 | + if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk' |
| 61 | + |
| 62 | + runs-on: macos-latest |
| 63 | + strategy: |
| 64 | + matrix: |
| 65 | + flags: [ |
| 66 | + '--use-static-frameworks', |
| 67 | + '--use-libraries' |
| 68 | + ] |
| 69 | + needs: pod_lib_lint |
| 70 | + steps: |
| 71 | + - uses: actions/checkout@v2 |
| 72 | + - name: Setup Bundler |
| 73 | + run: scripts/setup_bundler.sh |
| 74 | + - name: PodLibLint InAppMessaging Cron |
| 75 | + run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec --platforms=ios ${{ matrix.flags }} |
| 76 | + |
29 | 77 | quickstart:
|
30 | 78 | # Don't run on private repo unless it is a PR.
|
31 | 79 | if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
|
|
0 commit comments