@@ -143,11 +143,11 @@ jobs:
143
143
144
144
145
145
cmake-prod-db :
146
+ needs : check
146
147
# Either a scheduled run from public repo, or a pull request with firestore changes.
147
148
if : |
148
149
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
149
150
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
150
- needs : check
151
151
152
152
strategy :
153
153
matrix :
@@ -230,11 +230,11 @@ jobs:
230
230
231
231
232
232
sanitizers-mac :
233
+ needs : check
233
234
# Either a scheduled run from public repo, or a pull request with firestore changes.
234
235
if : |
235
236
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
236
237
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
237
- needs : check
238
238
239
239
strategy :
240
240
matrix :
@@ -272,11 +272,11 @@ jobs:
272
272
273
273
274
274
sanitizers-ubuntu :
275
+ needs : check
275
276
# Either a scheduled run from public repo, or a pull request with firestore changes.
276
277
if : |
277
278
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
278
279
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
279
- needs : check
280
280
281
281
strategy :
282
282
matrix :
@@ -318,12 +318,12 @@ jobs:
318
318
319
319
320
320
xcodebuild :
321
+ needs : check
321
322
# Either a scheduled run from public repo, or a pull request with firestore changes.
322
323
if : |
323
324
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
324
- (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true' )
325
+ (github.event_name == 'pull_request')
325
326
runs-on : macos-14
326
- needs : check
327
327
328
328
strategy :
329
329
matrix :
@@ -347,12 +347,12 @@ jobs:
347
347
348
348
349
349
pod-lib-lint :
350
+ needs : check
350
351
# Either a scheduled run from public repo, or a pull request with firestore changes.
351
352
if : |
352
353
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
353
- (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true' )
354
+ (github.event_name == 'pull_request')
354
355
runs-on : macos-13
355
- needs : check
356
356
strategy :
357
357
matrix :
358
358
podspec : [
@@ -379,8 +379,8 @@ jobs:
379
379
380
380
# `pod lib lint` takes a long time so only run the other platforms and static frameworks build in the cron.
381
381
pod-lib-lint-cron :
382
- if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
383
382
needs : check
383
+ if : github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
384
384
strategy :
385
385
matrix :
386
386
podspec : [
@@ -430,10 +430,11 @@ jobs:
430
430
--no-analyze
431
431
432
432
spm-source :
433
+ needs : check
433
434
# Either a scheduled run from public repo, or a pull request with firestore changes.
434
435
if : |
435
436
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
436
- (github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true' )
437
+ (github.event_name == 'pull_request')
437
438
strategy :
438
439
matrix :
439
440
target : [iOS, tvOS, macOS]
@@ -447,7 +448,6 @@ jobs:
447
448
xcode : Xcode_15.3
448
449
target : visionOS
449
450
runs-on : ${{ matrix.os }}
450
- needs : check
451
451
env :
452
452
FIREBASE_SOURCE_FIRESTORE : 1
453
453
steps :
@@ -463,12 +463,12 @@ jobs:
463
463
run : scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore ${{ matrix.target }} spmbuildonly
464
464
465
465
spm-binary :
466
+ needs : check
466
467
# Either a scheduled run from public repo, or a pull request with firestore changes.
467
468
if : |
468
469
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
469
470
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
470
471
runs-on : macos-14
471
- needs : check
472
472
steps :
473
473
- uses : actions/checkout@v4
474
474
- uses : mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
@@ -480,12 +480,12 @@ jobs:
480
480
run : scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFirestore iOS spmbuildonly
481
481
482
482
check-firestore-internal-public-headers :
483
+ needs : check
483
484
# Either a scheduled run from public repo, or a pull request with firestore changes.
484
485
if : |
485
486
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
486
487
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
487
488
runs-on : macos-14
488
- needs : check
489
489
steps :
490
490
- uses : actions/checkout@v4
491
491
- name : Assert that Firestore and FirestoreInternal have identically named headers.
@@ -551,15 +551,13 @@ jobs:
551
551
# to be used as a required check for merging.
552
552
check-required-tests :
553
553
runs-on : ubuntu-latest
554
- if : always()
555
554
name : Check all required Firestore tests results
556
555
needs : [cmake, cmake-prod-db, xcodebuild, spm-source, spm-binary]
557
556
steps :
558
557
- name : Check test matrix
559
- if : needs.cmake.result == 'failure' || needs.cmake-prod-db.result == 'failure' || needs.xcodebuild.result == 'failure' || needs.spm .result == 'failure'
558
+ if : needs.* .result == 'failure'
560
559
run : exit 1
561
560
562
-
563
561
# Disable until FirebaseUI is updated to accept Firebase 9 and quickstart is updated to accept
564
562
# Firebase UI 12
565
563
# quickstart:
0 commit comments