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

Workaround GHA download overload crashes #11

Merged
merged 5 commits into from
Sep 19, 2024
Merged
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
17 changes: 12 additions & 5 deletions .github/workflows/spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,25 @@ jobs:
strategy:
matrix:
os: [macos-14]
target: [iOS, tvOS, macOS, catalyst, visionOS]
xcode: [Xcode_15.2, Xcode_15.4, Xcode_16_Release_Candidate]
# Target and Xcode matrix commented to workaround GHA download overload crashes
# target: [iOS, tvOS, macOS, catalyst, visionOS]
# xcode: [Xcode_15.2, Xcode_16_Release_Candidate]
runs-on: ${{ matrix.os }}
env:
FIREBASE_MAIN: 1
steps:
- uses: actions/checkout@v4
- name: Xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Setup Scripts Directory
run: ./setup-scripts.sh
- name: Xcode 15
run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
- name: Initialize xcodebuild
run: xcodebuild -list
- name: iOS Unit Tests
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect ${{ matrix.target }} spm
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect iOS spm
- name: tvOS Unit Tests
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect tvOS spm
- name: macOS Unit Tests
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect macOS spm
- name: visionOS Unit Tests
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect visionOS spm