Skip to content

Commit 2a79497

Browse files
authored
Workaround GHA download overload crashes (#11)
1 parent f4b722b commit 2a79497

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/spm.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,25 @@ jobs:
3030
strategy:
3131
matrix:
3232
os: [macos-14]
33-
target: [iOS, tvOS, macOS, catalyst, visionOS]
34-
xcode: [Xcode_15.2, Xcode_15.4, Xcode_16_Release_Candidate]
33+
# Target and Xcode matrix commented to workaround GHA download overload crashes
34+
# target: [iOS, tvOS, macOS, catalyst, visionOS]
35+
# xcode: [Xcode_15.2, Xcode_16_Release_Candidate]
3536
runs-on: ${{ matrix.os }}
3637
env:
3738
FIREBASE_MAIN: 1
3839
steps:
3940
- uses: actions/checkout@v4
40-
- name: Xcode
41-
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
4241
- name: Setup Scripts Directory
4342
run: ./setup-scripts.sh
43+
- name: Xcode 15
44+
run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
4445
- name: Initialize xcodebuild
4546
run: xcodebuild -list
4647
- name: iOS Unit Tests
47-
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect ${{ matrix.target }} spm
48+
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect iOS spm
49+
- name: tvOS Unit Tests
50+
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect tvOS spm
51+
- name: macOS Unit Tests
52+
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect macOS spm
53+
- name: visionOS Unit Tests
54+
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseDataConnect visionOS spm

0 commit comments

Comments
 (0)