From eb12eb0198c2acd8f8d6d5f0bb8c93a8723669c7 Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:00:30 -0400 Subject: [PATCH] [Infra] Add job that builds ClientApp with source Firestore via SPM --- .github/workflows/client_app.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/client_app.yml b/.github/workflows/client_app.yml index 8a63ae9039d..c3fa8f6dabf 100644 --- a/.github/workflows/client_app.yml +++ b/.github/workflows/client_app.yml @@ -38,6 +38,24 @@ jobs: - name: Build Client App –– ${{ matrix.platform }} run: scripts/third_party/travis/retry.sh ./scripts/build.sh SwiftPMClientApp ${{ matrix.platform }} xcodebuild + client-app-spm-source-firestore: + if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' + env: + FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1 + FIREBASE_SOURCE_FIRESTORE: 1 + runs-on: macos-12 + strategy: + matrix: + #TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst + platform: [iOS] + steps: + - uses: actions/checkout@v3 + - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 + with: + cache_key: ${{ matrix.os }} + - name: Build Client App –– ${{ matrix.platform }} + run: scripts/third_party/travis/retry.sh ./scripts/build.sh SwiftPMClientApp ${{ matrix.platform }} xcodebuild + client-app-cocoapods: # Don't run on private repo unless it is a PR. if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'