File tree 2 files changed +35
-4
lines changed 2 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 95
95
xcode : Xcode_15.2
96
96
- os : macos-14
97
97
xcode : Xcode_15.3
98
- - os : macos-14
99
- target : visionOS
100
- xcode : Xcode_15.3
101
98
runs-on : ${{ matrix.os }}
102
99
steps :
103
100
- uses : actions/checkout@v4
@@ -116,3 +113,33 @@ jobs:
116
113
run : scripts/third_party/travis/retry.sh ./scripts/build.sh version-test ${{ matrix.target }} spm
117
114
- name : Analytics Build Tests
118
115
run : scripts/third_party/travis/retry.sh ./scripts/build.sh analytics-import-test ${{ matrix.target }} spm
116
+
117
+ visionOS-with-Firestore-source :
118
+ # Don't run on private repo unless it is a PR.
119
+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
120
+
121
+ strategy :
122
+ matrix :
123
+ target : [visionOS]
124
+ os : [macos-14]
125
+ xcode : [Xcode_15.3]
126
+ runs-on : ${{ matrix.os }}
127
+ env :
128
+ FIREBASE_SOURCE_FIRESTORE : 1
129
+ steps :
130
+ - uses : actions/checkout@v4
131
+ - uses : mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
132
+ with :
133
+ cache_key : platforms${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }}
134
+ - name : Xcode
135
+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
136
+ - name : Initialize xcodebuild
137
+ run : scripts/setup_spm_tests.sh
138
+ - name : Objc Import Tests
139
+ run : scripts/third_party/travis/retry.sh ./scripts/build.sh objc-import-test ${{ matrix.target }} spm
140
+ - name : Swift Tests
141
+ run : scripts/third_party/travis/retry.sh ./scripts/build.sh swift-test ${{ matrix.target }} spm
142
+ - name : Version Tests
143
+ run : scripts/third_party/travis/retry.sh ./scripts/build.sh version-test ${{ matrix.target }} spm
144
+ - name : Analytics Build Tests
145
+ run : scripts/third_party/travis/retry.sh ./scripts/build.sh analytics-import-test ${{ matrix.target }} spm
Original file line number Diff line number Diff line change @@ -411,12 +411,16 @@ case "$product-$platform-$method" in
411
411
fi
412
412
;;
413
413
414
+ # TODO: This is actually building for iOS instead of watchOS. Update to use
415
+ # watchOS xcb_flags along with the watchOS sdk option. Also nanopb and promises
416
+ # podspecs need minimum version updates.
417
+
414
418
MessagingSampleStandaloneWatchApp-* -* )
415
419
if check_secrets; then
416
420
RunXcodebuild \
417
421
-workspace ' FirebaseMessaging/Apps/SampleStandaloneWatchApp/SampleStandaloneWatchApp.xcworkspace' \
418
422
-scheme " SampleStandaloneWatchApp Watch App" \
419
- " ${xcb_flags[@]} " \
423
+ -destination ' platform=watchOS Simulator,name=Apple Watch Series 7 (45mm) ' \
420
424
build
421
425
fi
422
426
;;
You can’t perform that action at this time.
0 commit comments