Skip to content

Commit

Permalink
[CI] Stop Xcode 14, start Xcode 15.3 (#12746)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Cooke <[email protected]>
  • Loading branch information
paulb777 and ncooke3 authored Apr 12, 2024
1 parent 74b8196 commit 1cde471
Show file tree
Hide file tree
Showing 57 changed files with 358 additions and 375 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/abtesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
matrix:
# TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532
target: [ios, tvos, macos --skip-tests, watchos]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand All @@ -52,10 +52,10 @@ jobs:
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-12, macos-13, macos-14]
os: [macos-13, macos-14]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
# 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'

runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand All @@ -109,7 +109,7 @@ jobs:
env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -132,7 +132,7 @@ jobs:
env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
# Don't run on private repo.
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'

runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
target: [ios, tvos, macos]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
strategy:
matrix:
target: [ios, tvos, macos]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/appdistribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
strategy:
matrix:
target: [ios]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand All @@ -47,10 +47,10 @@ jobs:

strategy:
matrix:
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand All @@ -70,7 +70,7 @@ jobs:
# 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'

runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand All @@ -85,7 +85,7 @@ jobs:
appdistribution-cron-only:
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'

runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
target: [ios]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/archiving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# Don't run on private repo.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')

runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
# These need to be on a single line or else the formatting won't validate.
Expand All @@ -41,7 +41,7 @@ jobs:
# Don't run on private repo.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')

runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
target: [ios, tvos, macos]
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
podspec: [FirebaseAuthInterop.podspec, FirebaseAuth.podspec]
# TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532
target: [ios, tvos, macos --skip-tests, watchos]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
tests: --skip-tests
- os: macos-13
xcode: Xcode_15.2
Expand Down Expand Up @@ -101,19 +101,16 @@ jobs:
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-12, macos-13, macos-14]
os: [macos-13, macos-14]
include:
- os: macos-12
xcode: Xcode_14.2
test: spm
- os: macos-13
xcode: Xcode_15.2
test: spmbuildonly
- os: macos-14
xcode: Xcode_15.2
xcode: Xcode_15.3
test: spmbuildonly
- os: macos-14
xcode: Xcode_15.2
xcode: Xcode_15.3
target: visionOS
test: spm
runs-on: ${{ matrix.os }}
Expand All @@ -137,7 +134,7 @@ jobs:
catalyst:
# 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'
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand All @@ -161,7 +158,7 @@ jobs:
env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -181,7 +178,7 @@ jobs:
# env:
# plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# runs-on: macos-12
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# - uses: ruby/setup-ruby@v1
Expand All @@ -203,7 +200,7 @@ jobs:
# Don't run on private repo.
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'

runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
# The macos and tvos tests can hang, and watchOS doesn't have tests.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
check:
# Don't run on private repo.
if: github.repository == 'Firebase/firebase-ios-sdk'
runs-on: macos-12
runs-on: macos-14
env:
MINT_PATH: ${{ github.workspace }}/mint
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/client_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
client-app-spm:
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
#TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
Expand All @@ -44,7 +44,7 @@ jobs:
env:
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
FIREBASE_SOURCE_FIRESTORE: 1
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
#TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
Expand All @@ -61,7 +61,7 @@ jobs:
client-app-cocoapods:
# 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'
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
scheme: [ClientApp-CocoaPods, ClientApp-CocoaPods-iOS13]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cocoapods-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# 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'

runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/combine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
xcodebuild:
# 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'
runs-on: macos-12
runs-on: macos-14

strategy:
matrix:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
env:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
matrix:
# TODO: macos tests are blocked by https://github.com/erikdoe/ocmock/pull/532
target: [ios, tvos, macos --skip-tests, watchos]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand All @@ -45,16 +45,14 @@ jobs:
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-12, macos-13, macos-14]
os: [macos-13, macos-14]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.2
xcode: Xcode_15.3
- os: macos-14
xcode: Xcode_15.2
xcode: Xcode_15.3
target: visionOS
runs-on: ${{ matrix.os }}
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/core_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
strategy:
matrix:
target: [ios, tvos, macos, watchos]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand All @@ -40,7 +40,7 @@ jobs:
core-internal-cron-only:
# Don't run on private repo.
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
target: [ios, tvos, macos]
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/core_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
strategy:
matrix:
target: [ios, tvos, macos, watchos]
os: [macos-12, macos-13]
os: [macos-14, macos-13]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-14
xcode: Xcode_15.3
- os: macos-13
xcode: Xcode_15.2
runs-on: ${{ matrix.os }}
Expand All @@ -41,16 +41,14 @@ jobs:
strategy:
matrix:
target: [iOS, tvOS, macOS, catalyst, watchOS]
os: [macos-12, macos-13, macos-14]
os: [macos-13, macos-14]
include:
- os: macos-12
xcode: Xcode_14.2
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.2
xcode: Xcode_15.3
- os: macos-14
xcode: Xcode_15.2
xcode: Xcode_15.3
target: visionOS
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -65,7 +63,7 @@ jobs:
catalyst:
# 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'
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand All @@ -82,7 +80,7 @@ jobs:
core-internal-cron-only:
# Don't run on private repo.
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
target: [ios, tvos, macos]
Expand Down
Loading

0 comments on commit 1cde471

Please sign in to comment.