@@ -142,8 +142,8 @@ jobs:
142
142
name : packaging-tools-${{ matrix.tools_platform }}
143
143
path : packaging-tools.tgz
144
144
145
- build_and_package_ios :
146
- name : build-and-package-ios
145
+ build_and_package_ios_tvos :
146
+ name : build-and-package-ios-tvos
147
147
runs-on : macos-latest
148
148
if : ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
149
149
steps :
@@ -159,12 +159,17 @@ jobs:
159
159
- name : install prerequisites
160
160
run : sdk-src/build_scripts/ios/install_prereqs.sh
161
161
162
+ - name : Setup python
163
+ uses : actions/setup-python@v2
164
+ with :
165
+ python-version : 3.7
166
+
162
167
- name : build sdk
163
168
run : |
164
- sdk-src/build_scripts/ios/build.sh -b firebase-cpp-sdk-ios-build -s sdk-src
165
- sdk-src/build_scripts/ios/package.sh firebase-cpp-sdk-ios-build firebase-cpp-sdk-ios-package
166
- cd firebase-cpp-sdk-ios-package
167
- tar -czhf ../firebase-cpp-sdk-ios-package.tgz .
169
+ python sdk-src/scripts/gha/build_ios_tvos.py -b firebase-cpp-sdk-ios-tvos -build -s sdk-src
170
+ sdk-src/build_scripts/ios/package.sh firebase-cpp-sdk-ios-tvos- build firebase-cpp-sdk-ios-tvos -package
171
+ cd firebase-cpp-sdk-ios-tvos- package
172
+ tar -czhf ../firebase-cpp-sdk-ios-tvos- package.tgz .
168
173
169
174
- name : Print built libraries
170
175
shell : bash
@@ -184,8 +189,8 @@ jobs:
184
189
- name : upload artifacts
185
190
186
191
with :
187
- name : firebase-cpp-sdk-ios-package
188
- path : firebase-cpp-sdk-ios-package.tgz
192
+ name : firebase-cpp-sdk-ios-tvos- package
193
+ path : firebase-cpp-sdk-ios-tvos- package.tgz
189
194
190
195
build_and_package_android :
191
196
name : build-and-package-android-${{matrix.stl}}
@@ -600,7 +605,7 @@ jobs:
600
605
name : final-merge-packages
601
606
runs-on : ubuntu-latest
602
607
if : ${{ github.event.inputs.downloadPublicVersion == '' && github.event.inputs.downloadPreviousRun == '' }}
603
- needs : [build_and_package_ios , build_and_package_android, package_desktop, log_inputs]
608
+ needs : [build_and_package_ios_tvos , build_and_package_android, package_desktop, log_inputs]
604
609
steps :
605
610
- name : fetch SDK
606
611
0 commit comments