Skip to content

Commit b50a3ef

Browse files
authored
Add missing watchOS CI (#9227)
1 parent cb29e7d commit b50a3ef

File tree

8 files changed

+10
-110
lines changed

8 files changed

+10
-110
lines changed

.github/workflows/abtesting.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,9 @@ jobs:
3333
# Don't run on private repo unless it is a PR.
3434
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
3535
runs-on: macos-11
36-
steps:
37-
- uses: actions/checkout@v2
38-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
39-
with:
40-
cache_key: ${{ matrix.os }}
41-
- name: Initialize xcodebuild
42-
run: scripts/setup_spm_tests.sh
43-
- name: iOS Unit Tests
44-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh ABTestingUnit iOS spm
45-
46-
spm-cron:
47-
# Don't run on private repo.
48-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
49-
runs-on: macos-11
5036
strategy:
5137
matrix:
52-
target: [tvOS, macOS, catalyst]
38+
target: [iOS, tvOS, macOS, catalyst, watchOS]
5339
steps:
5440
- uses: actions/checkout@v2
5541
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/auth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
runs-on: macos-11
7575
strategy:
7676
matrix:
77-
target: [iOS, tvOS, macOS, catalyst]
77+
target: [iOS, tvOS, macOS, catalyst, watchOS]
7878
steps:
7979
- uses: actions/checkout@v2
8080
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/core.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,9 @@ jobs:
3232
# Don't run on private repo unless it is a PR.
3333
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
3434
runs-on: macos-11
35-
steps:
36-
- uses: actions/checkout@v2
37-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
38-
with:
39-
cache_key: ${{ matrix.os }}
40-
- name: Initialize xcodebuild
41-
run: scripts/setup_spm_tests.sh
42-
- name: iOS Unit Tests
43-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh CoreUnit iOS spm
44-
45-
spm-cron:
46-
# Don't run on private repo.
47-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
48-
runs-on: macos-11
4935
strategy:
5036
matrix:
51-
target: [tvOS, macOS, catalyst]
37+
target: [iOS, tvOS, macOS, catalyst, watchOS]
5238
steps:
5339
- uses: actions/checkout@v2
5440
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/crashlytics.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,9 @@ jobs:
3535
# Don't run on private repo unless it is a PR.
3636
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
3737
runs-on: macos-11
38-
steps:
39-
- uses: actions/checkout@v2
40-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
41-
with:
42-
cache_key: ${{ matrix.os }}
43-
- name: Initialize xcodebuild
44-
run: scripts/setup_spm_tests.sh
45-
- name: iOS Unit Tests
46-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseCrashlytics iOS spmbuildonly
47-
48-
spm-cron:
49-
# Don't run on private repo.
50-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
51-
runs-on: macos-11
5238
strategy:
5339
matrix:
54-
target: [tvOS, macOS, catalyst]
40+
target: [iOS, tvOS, macOS, catalyst, watchOS]
5541
steps:
5642
- uses: actions/checkout@v2
5743
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/database.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,9 @@ jobs:
5252
# Don't run on private repo unless it is a PR.
5353
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
5454
runs-on: macos-11
55-
steps:
56-
- uses: actions/checkout@v2
57-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
58-
with:
59-
cache_key: ${{ matrix.os }}
60-
- name: Initialize xcodebuild
61-
run: scripts/setup_spm_tests.sh
62-
- name: iOS Unit Tests
63-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh DatabaseUnit iOS spm
64-
- name: iOS Swift Unit Tests
65-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh DatabaseUnitSwift iOS spm
66-
67-
spm-cron:
68-
# Don't run on private repo.
69-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
70-
runs-on: macos-11
7155
strategy:
7256
matrix:
73-
target: [tvOS, macOS, catalyst]
57+
target: [iOS, tvOS, macOS, catalyst, watchOS]
7458
steps:
7559
- uses: actions/checkout@v2
7660
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/installations.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,9 @@ jobs:
4444
# Don't run on private repo unless it is a PR.
4545
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
4646
runs-on: macos-11
47-
steps:
48-
- uses: actions/checkout@v2
49-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
50-
with:
51-
cache_key: ${{ matrix.os }}
52-
- name: Initialize xcodebuild
53-
run: scripts/setup_spm_tests.sh
54-
- name: iOS Unit Tests
55-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseInstallations iOS spmbuildonly
56-
57-
spm-cron:
58-
# Don't run on private repo.
59-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
60-
runs-on: macos-11
6147
strategy:
6248
matrix:
63-
target: [tvOS, macOS, catalyst]
49+
target: [iOS, tvOS, macOS, catalyst, watchOS]
6450
steps:
6551
- uses: actions/checkout@v2
6652
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/mlmodeldownloader.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,9 @@ jobs:
6060
spm:
6161
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
6262
runs-on: macos-11
63-
steps:
64-
- uses: actions/checkout@v2
65-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
66-
with:
67-
cache_key: ${{ matrix.os }}
68-
- name: Initialize xcodebuild
69-
run: scripts/setup_spm_tests.sh
70-
- name: iOS Unit Tests
71-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseMLModelDownloaderUnit iOS spm
72-
73-
spm-cron:
74-
# Don't run on private repo.
75-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
76-
runs-on: macos-11
7763
strategy:
7864
matrix:
79-
target: [tvOS, macOS, catalyst]
65+
target: [iOS, tvOS, macOS, catalyst, watchOS]
8066
steps:
8167
- uses: actions/checkout@v2
8268
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

.github/workflows/remoteconfig.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,9 @@ jobs:
6565
# Don't run on private repo unless it is a PR.
6666
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
6767
runs-on: macos-11
68-
steps:
69-
- uses: actions/checkout@v2
70-
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
71-
with:
72-
cache_key: ${{ matrix.os }}
73-
- name: Initialize xcodebuild
74-
run: scripts/setup_spm_tests.sh
75-
- name: iOS Unit Tests
76-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigUnit iOS spm
77-
- name: Fake Console tests
78-
run: scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigFakeConsole iOS spm
79-
80-
spm-cron:
81-
# Don't run on private repo.
82-
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
83-
runs-on: macos-11
8468
strategy:
8569
matrix:
86-
target: [tvOS, macOS, catalyst]
70+
target: [iOS, tvOS, macOS, catalyst, watchOS]
8771
steps:
8872
- uses: actions/checkout@v2
8973
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
@@ -93,6 +77,8 @@ jobs:
9377
run: scripts/setup_spm_tests.sh
9478
- name: Unit Tests
9579
run: scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigUnit ${{ matrix.target }} spm
80+
- name: Fake Console tests
81+
run: scripts/third_party/travis/retry.sh ./scripts/build.sh RemoteConfigFakeConsole ${{ matrix.target }} spm
9682

9783
catalyst:
9884
# Don't run on private repo unless it is a PR.

0 commit comments

Comments
 (0)