File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 15
15
env :
16
16
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
17
17
runs-on : macos-latest
18
+ strategy :
19
+ matrix :
20
+ pod : [Storage, StorageSwift]
18
21
steps :
19
22
- uses : actions/checkout@v2
20
23
- name : Setup Bundler
23
26
run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/storage-db-plist.gpg \
24
27
FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret"
25
28
- name : BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
26
- run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Storage all)
29
+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh ${{ matrix.pod }} all)
27
30
28
31
catalyst :
29
32
runs-on : macOS-latest
64
67
- name : Setup Bundler
65
68
run : scripts/setup_bundler.sh
66
69
- name : Build and test
67
- run : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --skip-tests --platforms=${{ matrix.target }}
70
+ run : |
71
+ scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --skip-tests --platforms=${{ matrix.target }}
72
+ scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorageSwift.podspec --skip-tests --platforms=${{ matrix.target }}
68
73
69
74
storage-cron-only :
70
75
runs-on : macos-latest
82
87
- name : Setup Bundler
83
88
run : scripts/setup_bundler.sh
84
89
- name : PodLibLint Storage Cron
85
- run : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
90
+ run : |
91
+ scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
92
+ scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ product can be one of:
33
33
Firebase
34
34
Firestore
35
35
InAppMessaging
36
+ Storage
37
+ StorageSwift
36
38
SymbolCollision
37
39
38
40
platform can be one of:
@@ -437,6 +439,20 @@ case "$product-$platform-$method" in
437
439
build \
438
440
test
439
441
;;
442
+
443
+ StorageSwift-* -xcodebuild)
444
+ pod_gen FirebaseStorageSwift.podspec --platforms=ios
445
+ if check_secrets; then
446
+ # Integration tests are only run on iOS to minimize flake failures.
447
+ RunXcodebuild \
448
+ -workspace ' gen/FirebaseStorageSwift/FirebaseStorageSwift.xcworkspace' \
449
+ -scheme " FirebaseStorageSwift-Unit-integration" \
450
+ " ${ios_flags[@]} " \
451
+ " ${xcb_flags[@]} " \
452
+ build \
453
+ test
454
+ fi
455
+ ;;
440
456
* )
441
457
echo " Don't know how to build this product-platform-method combination" 1>&2
442
458
echo " product=$product " 1>&2
You can’t perform that action at this time.
0 commit comments