Skip to content

Commit 1c5e0f3

Browse files
committed
Add catalyst job
1 parent 63707ce commit 1c5e0f3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/storage.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,28 @@ jobs:
129129
- name: Unit Tests
130130
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseStorageUnit ${{ matrix.target }} spm
131131

132+
catalyst:
133+
# Don't run on private repo unless it is a PR.
134+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
135+
runs-on: macos-15
136+
steps:
137+
- uses: actions/checkout@v4
138+
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
139+
with:
140+
cache_key: catalyst${{ matrix.os }}
141+
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
142+
- name: Setup Bundler
143+
run: scripts/setup_bundler.sh
144+
- name: Xcode
145+
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
146+
- uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
147+
with:
148+
timeout_minutes: 120
149+
max_attempts: 3
150+
retry_on: error
151+
retry_wait_seconds: 120
152+
command: scripts/test_catalyst.sh FirebaseStorage test FirebaseStorage-Unit-unit
153+
132154
quickstart:
133155
# Don't run on private repo unless it is a PR.
134156
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

0 commit comments

Comments
 (0)