Skip to content

Commit

Permalink
Todos and workarounds for tests not yet ready for macos-14 (#12781)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored Apr 14, 2024
1 parent ffedaed commit 4e9d357
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/archiving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,29 @@ 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", "FirebaseFirestore", "FirebaseFunctions", "FirebaseMessaging", "FirebaseRemoteConfig", "FirebaseStorage"]
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"]
steps:
- uses: actions/checkout@v4
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +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(#12769): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
needs: check

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ jobs:
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
LEGACY: true
runs-on: macos-14
# TODO: Move to macos-14 and Xcode 15. The legacy quickstart uses material which doesn't build on Xcode 15.
runs-on: macos-12

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ 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'
runs-on: macos-14
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
env:
bot_token_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# The SDK repo will be cloned to this dir and podspecs from
Expand Down Expand Up @@ -111,7 +112,8 @@ 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'
runs-on: macos-14
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
strategy:
fail-fast: false
matrix: ${{fromJson(needs.specs_checking.outputs.matrix)}}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ 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'
runs-on: macos-14
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
env:
bot_token_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
# The SDK repo will be cloned to this dir and podspecs from
Expand Down Expand Up @@ -113,7 +114,8 @@ 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'
runs-on: macos-14
# TODO(#12780): macOS 14 blocked on https://github.com/grpc/grpc/pull/36340
runs-on: macos-12
strategy:
fail-fast: false
matrix: ${{fromJson(needs.specs_checking.outputs.matrix)}}
Expand Down

0 comments on commit 4e9d357

Please sign in to comment.