File tree Expand file tree Collapse file tree 6 files changed +82
-25
lines changed Expand file tree Collapse file tree 6 files changed +82
-25
lines changed Original file line number Diff line number Diff line change
1
+ name : firebasepod
2
+
3
+ # Verify that the Firebase.podspec will successfully `pod install`.
4
+
5
+ on :
6
+ pull_request :
7
+ paths :
8
+ - ' *.podspec'
9
+ - ' CoreOnly/**'
10
+ - ' .github/workflows/firebasepod.yml'
11
+ schedule :
12
+ # Run every day at 11pm (PST) - cron uses UTC times
13
+ - cron : ' 0 7 * * *'
14
+
15
+ jobs :
16
+ installation-test :
17
+ runs-on : macOS-latest
18
+
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Setup Bundler
22
+ run : scripts/setup_bundler.sh
23
+ - name : Prereqs
24
+ run : scripts/install_prereqs.sh FirebasePod iOS
25
+ - name : Build
26
+ run : scripts/build.sh FirebasePod iOS
Original file line number Diff line number Diff line change
1
+ name : interop
2
+
3
+ # All Interop pods in the repo are linted here.
4
+
5
+ on :
6
+ pull_request :
7
+ paths :
8
+ - ' Interop/**'
9
+ - ' *Interop.podspec'
10
+ - ' .github/workflows/interop.yml'
11
+ schedule :
12
+ # Run every day at 11pm (PST) - cron uses UTC times
13
+ - cron : ' 0 7 * * *'
14
+
15
+ jobs :
16
+ pod-lib-lint :
17
+ runs-on : macOS-latest
18
+ strategy :
19
+ matrix :
20
+ pod : [Analytics, Auth, CoreDiagnostics]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ - name : Setup Bundler
25
+ run : scripts/setup_bundler.sh
26
+ - name : Interop Pod
27
+ run : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb Firebase${{ matrix.pod }}Interop.podspec
Original file line number Diff line number Diff line change
1
+ name : symbolcollision
2
+
3
+ # Tests the Pods listed in SymbolCollisionTest/Podfile for symbol collisions.
4
+
5
+ on :
6
+ pull_request :
7
+ paths :
8
+ - ' .github/workflows/symbolcollision.yml'
9
+ - ' SymbolCollisionTest/**'
10
+ schedule :
11
+ # Run every day at 11pm (PST) - cron uses UTC times
12
+ - cron : ' 0 7 * * *'
13
+
14
+ jobs :
15
+ installation-test :
16
+ runs-on : macOS-latest
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Setup Bundler
21
+ run : scripts/setup_bundler.sh
22
+ - name : Prereqs
23
+ run : scripts/install_prereqs.sh SymbolCollision iOS
24
+ - name : Build
25
+ run : scripts/build.sh SymbolCollision iOS
Original file line number Diff line number Diff line change @@ -398,9 +398,6 @@ jobs:
398
398
env :
399
399
- PROJECT=Firebase METHOD=pod-lib-lint
400
400
script :
401
- - travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseAnalyticsInterop.podspec
402
- - travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseAuthInterop.podspec
403
- - travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseCoreDiagnosticsInterop.podspec
404
401
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec
405
402
406
403
# pod lib lint to check build and warnings for static library build - only on cron jobs
@@ -420,24 +417,6 @@ jobs:
420
417
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleDataTransport.podspec --platforms=ios
421
418
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb GoogleDataTransportCCTSupport.podspec --platforms=ios
422
419
423
- - stage : test
424
- env :
425
- - PROJECT=FirebasePod PLATFORM=iOS METHOD=xcodebuild
426
- before_install :
427
- - ./scripts/if_changed.sh ./scripts/install_prereqs.sh
428
- script :
429
- - travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM
430
-
431
- # Daily test for symbol collisions between Firebase and CocoaPods.
432
- - stage : test
433
- if : type = cron
434
- env :
435
- - PROJECT=SymbolCollision PLATFORM=iOS METHOD=xcodebuild
436
- before_install :
437
- - ./scripts/install_prereqs.sh
438
- script :
439
- - travis_retry ./scripts/build.sh $PROJECT $PLATFORM $METHOD
440
-
441
420
# Validate Cocoapods configurations
442
421
# This may take long time, so we would like to run it only once all other tests pass
443
422
# Validate Cocoapods 1.7.0 compatibility
Original file line number Diff line number Diff line change 287
287
288
288
289
289
case " $product -$platform -$method " in
290
- FirebasePod-* -xcodebuild )
290
+ FirebasePod-iOS- * )
291
291
RunXcodebuild \
292
292
-workspace ' CoreOnly/Tests/FirebasePodTest/FirebasePodTest.xcworkspace' \
293
293
-scheme " FirebasePodTest" \
@@ -344,7 +344,7 @@ case "$product-$platform-$method" in
344
344
)
345
345
;;
346
346
347
- SymbolCollision-* -xcodebuild )
347
+ SymbolCollision-* -* )
348
348
RunXcodebuild \
349
349
-workspace ' SymbolCollisionTest/SymbolCollisionTest.xcworkspace' \
350
350
-scheme " SymbolCollisionTest" \
Original file line number Diff line number Diff line change 112
112
113
113
case " $project -$platform -$method " in
114
114
115
- FirebasePod-iOS-xcodebuild )
115
+ FirebasePod-iOS-* )
116
116
install_xcpretty
117
117
bundle exec pod install --project-directory=CoreOnly/Tests/FirebasePodTest --repo-update
118
118
;;
@@ -180,7 +180,7 @@ case "$project-$platform-$method" in
180
180
pip install six
181
181
;;
182
182
183
- SymbolCollision-* -xcodebuild )
183
+ SymbolCollision-* -* )
184
184
install_xcpretty
185
185
bundle exec pod install --project-directory=SymbolCollisionTest --repo-update
186
186
;;
You can’t perform that action at this time.
0 commit comments