Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Update grpc dependent jobs to macos-14 #12790

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions .github/workflows/archiving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,7 @@ jobs:
matrix:
target: [ios, tvos, macos]
# These need to be on a single line or else the formatting won't validate.
pod: ["FirebaseABTesting", "FirebaseAuth", "FirebaseCore", "FirebaseCrashlytics", "FirebaseDatabase", "FirebaseFunctions", "FirebaseMessaging", "FirebaseRemoteConfig", "FirebaseStorage"]
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
with:
cache_key: pods-${{ matrix.os }}
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Setup project and archive
run: scripts/test_archiving.sh ${{ matrix.pod }} ${{ matrix.target }} ArchiveOutputs/${{ matrix.target }}.xcarchive

# TODO(#12780: Merge Firestore back into above job after https://github.com/grpc/grpc/pull/36340
pods-ios-tvos-macos-cron-macos12:
# Don't run on private repo.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')

runs-on: macos-12
strategy:
matrix:
target: [ios, tvos, macos]
# These need to be on a single line or else the formatting won't validate.
pod: ["FirebaseFirestore"]
pod: ["FirebaseABTesting", "FirebaseAuth", "FirebaseCore", "FirebaseCrashlytics", "FirebaseDatabase", "FirebaseFirestore", "FirebaseFunctions", "FirebaseMessaging", "FirebaseRemoteConfig", "FirebaseStorage"]
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,7 @@ jobs:
if: |
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
runs-on: macos-14
needs: check

strategy:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
specs_checking:
# 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 == 'workflow_dispatch'
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
runs-on: macos-14
env:
bot_token_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# The SDK repo will be cloned to this dir and podspecs from
Expand Down Expand Up @@ -112,8 +111,7 @@ jobs:
needs: [buildup_SpecsTesting_repo_FirebaseCore, specs_checking]
# 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 == 'workflow_dispatch'
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
runs-on: macos-14
strategy:
fail-fast: false
matrix: ${{fromJson(needs.specs_checking.outputs.matrix)}}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
specs_checking:
# 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 == 'workflow_dispatch'
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
runs-on: macos-14
env:
bot_token_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# The SDK repo will be cloned to this dir and podspecs from
Expand Down Expand Up @@ -114,8 +113,7 @@ jobs:
needs: [buildup_SpecsTesting_repo_FirebaseCore, specs_checking]
# Don't run on private repo unless it is a PR.
if: github.repository == 'Firebase/firebase-ios-sdk'
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
runs-on: macos-14
strategy:
fail-fast: false
matrix: ${{fromJson(needs.specs_checking.outputs.matrix)}}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/spectesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ jobs:
specs_testing:
needs: specs_checking
if: ${{ needs.specs_checking.outputs.podspecs != '[]' }}
# TODO: macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
runs-on: macos-14
strategy:
fail-fast: false
matrix: ${{fromJson(needs.specs_checking.outputs.matrix)}}
Expand Down
Loading