|
|
@@ -26,8 +26,11 @@ jobs:
|
|
|
runs-on: macos-11
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- target: [ios, tvos, macos, watchos]
|
|
|
+ # TODO: The --skip-tests might be removable with Xcode 13.2+
|
|
|
+ target: [ios, tvos, macos --skip-tests, watchos]
|
|
|
podspec: [ 'FirebaseFunctions.podspec', 'FirebaseFunctionsSwift.podspec']
|
|
|
+ env:
|
|
|
+ POD_LIB_LINT_ONLY: 1
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Setup Bundler
|
|
|
@@ -143,14 +146,16 @@ jobs:
|
|
|
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb \
|
|
|
FirebaseFunctions.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
|
|
|
|
|
|
- #TODO - reenable once there's a tag with the new directory structure. See #8918 and #8299
|
|
|
- # podspec-presubmit:
|
|
|
- # Don't run on private repo unless it is a PR.
|
|
|
- # if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
|
|
|
- # runs-on: macos-11
|
|
|
- # steps:
|
|
|
- # - uses: actions/checkout@v2
|
|
|
- # - name: Setup Bundler
|
|
|
- # run: scripts/setup_bundler.sh
|
|
|
- # - name: Build and test
|
|
|
- # run: scripts/third_party/travis/retry.sh pod spec lint FirebaseFunctions.podspec --skip-tests --sources='https://github.com/firebase/SpecsTesting','https://github.com/firebase/SpecsDev.git','https://github.com/firebase/SpecsStaging.git','https://cdn.cocoapods.org/'
|
|
|
+ podspec-presubmit:
|
|
|
+ if: github.repository == 'Firebase/firebase-ios-sdk' && github.event.pull_request.merged != true && github.event.action != 'closed'
|
|
|
+ runs-on: macos-11
|
|
|
+ strategy:
|
|
|
+ matrix:
|
|
|
+ target: [ios, tvos, macos, watchos]
|
|
|
+ podspec: [ 'FirebaseFunctions.podspec', 'FirebaseFunctionsSwift.podspec']
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v2
|
|
|
+ - name: Setup Bundler
|
|
|
+ run: scripts/setup_bundler.sh
|
|
|
+ - name: Build and test
|
|
|
+ run: scripts/third_party/travis/retry.sh pod spec lint ${{ matrix.podspec }} --skip-tests --sources='https://github.com/firebase/SpecsTesting','https://github.com/firebase/SpecsDev.git','https://github.com/firebase/SpecsStaging.git','https://cdn.cocoapods.org/'
|