@@ -156,20 +156,15 @@ jobs:
156
156
with :
157
157
path : sdk-src
158
158
159
- - name : Setup python
160
- uses : actions/setup-python@v2
161
- with :
162
- python-version : 3.7
163
-
164
159
- name : install prerequisites
165
160
run : sdk-src/build_scripts/ios/install_prereqs.sh
166
161
167
162
- name : build sdk
168
163
run : |
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 .
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 .
173
168
174
169
- name : Print built libraries
175
170
shell : bash
@@ -189,8 +184,8 @@ jobs:
189
184
- name : upload artifacts
190
185
191
186
with :
192
- name : firebase-cpp-sdk-ios-tvos- package
193
- path : firebase-cpp-sdk-ios-tvos- package.tgz
187
+ name : firebase-cpp-sdk-ios-package
188
+ path : firebase-cpp-sdk-ios-package.tgz
194
189
195
190
build_and_package_android :
196
191
name : build-and-package-android-${{matrix.stl}}
@@ -356,7 +351,7 @@ jobs:
356
351
# Run the build in the host OS default shell since Windows can't handle long path names in bash.
357
352
- name : Build desktop SDK
358
353
run : |
359
- python scripts/gha/build_desktop.py --arch "${{ matrix.architecture }}" --config "${{ matrix.build_type }}" --msvc_runtime_library "${{ matrix.msvc_runtime }}" --linux_abi "${{ matrix.linux_abi }}" --build_dir out-sdk ${VERBOSE_FLAG} ${{ matrix.additional_build_flags }}
354
+ python scripts/gha/build_desktop.py --arch "${{ matrix.architecture }}" --config "${{ matrix.build_type }}" --msvc_runtime_library "${{ matrix.msvc_runtime }}" --linux_abi "${{ matrix.linux_abi }}" --build_dir out-sdk ${VERBOSE_FLAG} ${{ matrix.additional_build_flags }} --gha_build
360
355
361
356
- name : Archive SDK
362
357
shell : bash
0 commit comments