|
|
@@ -30,37 +30,8 @@ jobs:
|
|
|
matrix:
|
|
|
podspec: [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
|
|
|
target: [ios, tvos, macos --skip-tests, watchos]
|
|
|
- os: [macos-14]
|
|
|
- xcode: [Xcode_15.2]
|
|
|
- runs-on: ${{ matrix.os }}
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v4
|
|
|
- - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
|
|
|
- - name: Setup Bundler
|
|
|
- run: scripts/setup_bundler.sh
|
|
|
- - name: Configure test keychain
|
|
|
- run: scripts/configure_test_keychain.sh
|
|
|
- - name: Xcode
|
|
|
- run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
|
|
|
- - uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
|
|
|
- with:
|
|
|
- timeout_minutes: 120
|
|
|
- max_attempts: 3
|
|
|
- retry_on: error
|
|
|
- retry_wait_seconds: 120
|
|
|
- command: scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.tests }}
|
|
|
-
|
|
|
- # TODO: Fix warnings on Xcode 16 and move into matrix above.
|
|
|
- pod-lib-lint-xc16:
|
|
|
- # Don't run on private repo unless it is a PR.
|
|
|
- if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
|
|
|
-
|
|
|
- strategy:
|
|
|
- matrix:
|
|
|
- podspec: [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
|
|
|
- target: [ios, tvos, macos --skip-tests --allow-warnings, watchos]
|
|
|
os: [macos-15]
|
|
|
- xcode: [Xcode_16.2]
|
|
|
+ xcode: [Xcode_16.3]
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
|
@@ -77,12 +48,12 @@ jobs:
|
|
|
max_attempts: 3
|
|
|
retry_on: error
|
|
|
retry_wait_seconds: 120
|
|
|
- command: scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.tests }} --allow-warnings
|
|
|
+ command: scripts/pod_lib_lint.rb ${{ matrix.podspec }} --platforms=${{ matrix.target }} ${{ matrix.tests }}
|
|
|
|
|
|
spm-package-resolved:
|
|
|
env:
|
|
|
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
|
|
|
- runs-on: macos-14
|
|
|
+ runs-on: macos-15
|
|
|
outputs:
|
|
|
cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
|
|
|
steps:
|
|
|
@@ -109,29 +80,26 @@ jobs:
|
|
|
strategy:
|
|
|
matrix:
|
|
|
include:
|
|
|
- - os: macos-13
|
|
|
- xcode: Xcode_15.2
|
|
|
- target: iOS spm
|
|
|
- os: macos-14
|
|
|
- xcode: Xcode_15.4
|
|
|
+ xcode: Xcode_16.2
|
|
|
target: iOS spm
|
|
|
- os: macos-15
|
|
|
- xcode: Xcode_16.2
|
|
|
+ xcode: Xcode_16.3
|
|
|
target: iOS spm
|
|
|
- os: macos-15
|
|
|
- xcode: Xcode_16.2
|
|
|
+ xcode: Xcode_16.3
|
|
|
target: tvOS spm
|
|
|
- os: macos-15
|
|
|
- xcode: Xcode_16.2
|
|
|
+ xcode: Xcode_16.3
|
|
|
target: macOS spmbuildonly
|
|
|
- os: macos-15
|
|
|
- xcode: Xcode_16.2
|
|
|
+ xcode: Xcode_16.3
|
|
|
target: watchOS spm
|
|
|
- os: macos-15
|
|
|
- xcode: Xcode_16.2
|
|
|
+ xcode: Xcode_16.3
|
|
|
target: catalyst spm
|
|
|
- os: macos-15
|
|
|
- xcode: Xcode_16.2
|
|
|
+ xcode: Xcode_16.3
|
|
|
target: visionOS spm
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
|
@@ -272,7 +240,7 @@ jobs:
|
|
|
# Don't run on private repo.
|
|
|
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
|
|
|
|
|
|
- runs-on: macos-14
|
|
|
+ runs-on: macos-15
|
|
|
strategy:
|
|
|
matrix:
|
|
|
# The macos and tvos tests can hang, and watchOS doesn't have tests.
|