@@ -156,20 +156,15 @@ jobs:
156156 with :
157157 path : sdk-src
158158
159- - name : Setup python
160- uses : actions/setup-python@v2
161- with :
162- python-version : 3.7
163-
164159 - name : install prerequisites
165160 run : sdk-src/build_scripts/ios/install_prereqs.sh
166161
167162 - name : build sdk
168163 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 .
173168
174169 - name : Print built libraries
175170 shell : bash
@@ -189,8 +184,8 @@ jobs:
189184 - name : upload artifacts
190185 uses : actions/upload-artifact@v2.2.2
191186 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
194189
195190 build_and_package_android :
196191 name : build-and-package-android-${{matrix.stl}}
@@ -356,7 +351,7 @@ jobs:
356351 # Run the build in the host OS default shell since Windows can't handle long path names in bash.
357352 - name : Build desktop SDK
358353 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
360355
361356 - name : Archive SDK
362357 shell : bash
0 commit comments