File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 22
22
if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
23
23
strategy :
24
24
matrix :
25
+ language : [Swift, ObjC]
25
26
include :
26
27
- os : macos-13
27
28
xcode : Xcode_15.1
51
52
- name : Xcode
52
53
run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
53
54
- name : BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
54
- run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Storage all)
55
+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Storage${{ matrix.language }} all)
55
56
56
57
spm :
57
58
# Don't run on private repo unless it is a PR.
Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ case "$product-$platform-$method" in
526
526
test
527
527
;;
528
528
529
- Storage -* -xcodebuild)
529
+ StorageSwift -* -xcodebuild)
530
530
pod_gen FirebaseStorage.podspec --platforms=ios
531
531
532
532
# Add GoogleService-Info.plist to generated Test Wrapper App.
@@ -543,6 +543,15 @@ case "$product-$platform-$method" in
543
543
" ${xcb_flags[@]} " \
544
544
test
545
545
fi
546
+ ;;
547
+
548
+ StorageObjC-* -xcodebuild)
549
+ pod_gen FirebaseStorage.podspec --platforms=ios
550
+
551
+ # Add GoogleService-Info.plist to generated Test Wrapper App.
552
+ ruby ./scripts/update_xcode_target.rb gen/FirebaseStorage/Pods/Pods.xcodeproj \
553
+ AppHost-FirebaseStorage-Unit-Tests \
554
+ ../../../FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist
546
555
547
556
if check_secrets; then
548
557
# Integration tests are only run on iOS to minimize flake failures.
You can’t perform that action at this time.
0 commit comments