Skip to content

Commit 5502a08

Browse files
authored
Add catalyst (#7192)
* Restores ML Pods after M77. * Fix Package.swift * Re-add catalyst to GHA workflow. * Run catalyst tests and temporarily enable spm-cron to run now. * Add scheme for catalyst test. * Re-enable spm-cron to run on schedule.
1 parent b41a127 commit 5502a08

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/mlmodeldownloader.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ jobs:
5252
runs-on: macOS-latest
5353
strategy:
5454
matrix:
55-
# TODO: manjanac@ Add catalyst back here.
56-
target: [tvOS, macOS]
55+
target: [tvOS, macOS, catalyst]
5756
steps:
5857
- uses: actions/checkout@v2
5958
- name: Xcode 12
@@ -65,16 +64,14 @@ jobs:
6564

6665
catalyst:
6766
# Don't run on private repo unless it is a PR.
68-
# TODO: manjanac@ Uncomment line below to re-enable catalyst.
69-
# if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
70-
if: false
67+
if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
7168
runs-on: macOS-latest
7269
steps:
7370
- uses: actions/checkout@v2
7471
- name: Setup Bundler
7572
run: scripts/setup_bundler.sh
7673
- name: Setup project and Build Catalyst
77-
run: scripts/test_catalyst.sh FirebaseMLModelDownloader build
74+
run: scripts/test_catalyst.sh FirebaseMLModelDownloader test FirebaseMLModelDownloader-Unit-unit
7875

7976
mlmodeldownloader-cron-only:
8077
# Don't run on private repo.

0 commit comments

Comments
 (0)