Skip to content

Commit ea0ae54

Browse files
authored
[Infra] Add job that builds ClientApp with source Firestore via SPM (#11941)
1 parent 70054b4 commit ea0ae54

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/client_app.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,24 @@ jobs:
3939
- name: Build Client App –– ${{ matrix.platform }}
4040
run: scripts/third_party/travis/retry.sh ./scripts/build.sh ${{ matrix.scheme }} ${{ matrix.platform }} xcodebuild
4141

42+
client-app-spm-source-firestore:
43+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
44+
env:
45+
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
46+
FIREBASE_SOURCE_FIRESTORE: 1
47+
runs-on: macos-12
48+
strategy:
49+
matrix:
50+
#TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
51+
platform: [iOS]
52+
steps:
53+
- uses: actions/checkout@v3
54+
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
55+
with:
56+
cache_key: ${{ matrix.os }}
57+
- name: Build Client App –– ${{ matrix.platform }}
58+
run: scripts/third_party/travis/retry.sh ./scripts/build.sh SwiftPMClientApp ${{ matrix.platform }} xcodebuild
59+
4260
client-app-cocoapods:
4361
# Don't run on private repo unless it is a PR.
4462
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

0 commit comments

Comments
 (0)