Skip to content

Commit

Permalink
Xcode_16 will soon require macos-15 in GHA (firebase#13835)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored and MojtabaHs committed Oct 17, 2024
1 parent 661cebd commit 41726c1
Show file tree
Hide file tree
Showing 22 changed files with 476 additions and 78 deletions.
51 changes: 44 additions & 7 deletions .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,25 @@ jobs:

strategy:
matrix:
# TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532
target: [ios, tvos, macos --skip-tests, watchos]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: ios
- os: macos-14
xcode: Xcode_15.4
target: ios
- os: macos-15
xcode: Xcode_16
target: ios
- os: macos-15
xcode: Xcode_16
target: tvos
- os: macos-15
xcode: Xcode_16
target: macos
- os: macos-15
xcode: Xcode_16
target: watchos
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -71,9 +86,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: watchOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/appdistribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ jobs:

strategy:
matrix:
target: [ios]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.4
- os: macos-15
xcode: Xcode_16
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -35,7 +39,7 @@ jobs:
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAppDistribution.podspec \
--platforms=${{ matrix.target }}
--platforms=ios
spm-package-resolved:
env:
Expand Down Expand Up @@ -66,8 +70,13 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.4
- os: macos-15
xcode: Xcode_16
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
32 changes: 27 additions & 5 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
matrix:
podspec: [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
target: [ios, tvos, macos --skip-tests --allow-warnings, watchos]
os: [macos-14]
os: [macos-15]
xcode: [Xcode_16]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -107,9 +107,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS spm, tvOS spm, macOS spmbuildonly, catalyst spm, watchOS spm]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS spm
- os: macos-14
xcode: Xcode_15.4
target: iOS spm
- os: macos-15
xcode: Xcode_16
target: iOS spm
- os: macos-15
xcode: Xcode_16
target: tvOS spm
- os: macos-15
xcode: Xcode_16
target: macOS spmbuildonly
- os: macos-15
xcode: Xcode_16
target: watchOS spm
- os: macos-15
xcode: Xcode_16
target: catalyst spm
- os: macos-15
xcode: Xcode_16
target: visionOS spm
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -139,7 +161,7 @@ jobs:
env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: watchOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/core_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: watchOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/crashlytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: watchOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: watchOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/dynamiclinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.4
- os: macos-15
xcode: Xcode_16
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
28 changes: 25 additions & 3 deletions .github/workflows/firebase_app_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,31 @@ jobs:
needs: [spm-package-resolved]
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: watchOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
27 changes: 23 additions & 4 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ jobs:
- os: macos-13
platforms: 'ios'
include:
- os: macos-14
- os: macos-15
xcode: Xcode_16
- os: macos-13
xcode: Xcode_15.2
Expand Down Expand Up @@ -461,9 +461,28 @@ jobs:
(github.event_name == 'pull_request')
strategy:
matrix:
target: [iOS, tvOS, macOS]
os: [macos-14]
xcode: [Xcode_15.2, Xcode_16]
include:
- os: macos-13
xcode: Xcode_15.2
target: iOS
- os: macos-14
xcode: Xcode_15.4
target: iOS
- os: macos-15
xcode: Xcode_16
target: iOS
- os: macos-15
xcode: Xcode_16
target: tvOS
- os: macos-15
xcode: Xcode_16
target: macOS
- os: macos-15
xcode: Xcode_16
target: catalyst
- os: macos-15
xcode: Xcode_16
target: visionOS
runs-on: ${{ matrix.os }}
env:
FIREBASE_SOURCE_FIRESTORE: 1
Expand Down
Loading

0 comments on commit 41726c1

Please sign in to comment.