Skip to content

Commit e408699

Browse files
authored
Run CI on macos12 (#9745)
1 parent 74c7c1f commit e408699

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+625
-180
lines changed

.github/workflows/abtesting.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ jobs:
2020
# Don't run on private repo unless it is a PR.
2121
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2222

23-
runs-on: macos-11
23+
runs-on: macos-12
2424
strategy:
2525
matrix:
2626
target: [ios, tvos, macos, watchos]
2727
steps:
2828
- uses: actions/checkout@v2
29+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
30+
with:
31+
ruby-version: '2.7'
2932
- name: Setup Bundler
3033
run: scripts/setup_bundler.sh
3134
- name: Build and test
@@ -36,7 +39,7 @@ jobs:
3639
spm:
3740
# Don't run on private repo unless it is a PR.
3841
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
39-
runs-on: macos-11
42+
runs-on: macos-12
4043
strategy:
4144
matrix:
4245
target: [iOS, tvOS, macOS, catalyst, watchOS]
@@ -54,12 +57,15 @@ jobs:
5457
# Don't run on private repo unless it is a PR.
5558
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
5659

57-
runs-on: macos-11
60+
runs-on: macos-12
5861
steps:
5962
- uses: actions/checkout@v2
6063
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
6164
with:
6265
cache_key: ${{ matrix.os }}
66+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
67+
with:
68+
ruby-version: '2.7'
6369
- name: Setup Bundler
6470
run: scripts/setup_bundler.sh
6571
- name: Setup project and Build for Catalyst
@@ -72,9 +78,13 @@ jobs:
7278
env:
7379
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
7480
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
75-
runs-on: macos-11
81+
runs-on: macos-12
7682
steps:
7783
- uses: actions/checkout@v2
84+
- uses: actions/checkout@v2
85+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
86+
with:
87+
ruby-version: '2.7'
7888
- name: Setup quickstart
7989
env:
8090
LEGACY: true
@@ -91,7 +101,7 @@ jobs:
91101
# Don't run on private repo.
92102
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
93103

94-
runs-on: macos-11
104+
runs-on: macos-12
95105
strategy:
96106
matrix:
97107
target: [ios, tvos, macos]
@@ -101,6 +111,9 @@ jobs:
101111
needs: pod-lib-lint
102112
steps:
103113
- uses: actions/checkout@v2
114+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
115+
with:
116+
ruby-version: '2.7'
104117
- name: Setup Bundler
105118
run: scripts/setup_bundler.sh
106119
- name: PodLibLint ABTesting Cron

.github/workflows/analytics.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ jobs:
2121
# Don't run on private repo unless it is a PR.
2222
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2323

24-
runs-on: macos-11
24+
runs-on: macos-12
2525

2626
strategy:
2727
matrix:
2828
target: [ios, tvos, macos]
2929
steps:
3030
- uses: actions/checkout@v2
31+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
32+
with:
33+
ruby-version: '2.7'
3134
- name: Setup Bundler
3235
run: scripts/setup_bundler.sh
3336
- name: GoogleAppMeasurement

.github/workflows/app_check.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
pod_lib_lint:
1818
# Don't run on private repo unless it is a PR.
1919
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
20-
runs-on: macos-11
20+
runs-on: macos-12
2121
strategy:
2222
matrix:
2323
target: [ios, tvos, macos]
@@ -26,6 +26,9 @@ jobs:
2626
POD_LIB_LINT_ONLY: 1
2727
steps:
2828
- uses: actions/checkout@v2
29+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
30+
with:
31+
ruby-version: '2.7'
2932
- name: Setup Bundler
3033
run: scripts/setup_bundler.sh
3134
- name: Configure test keychain
@@ -36,12 +39,15 @@ jobs:
3639
catalyst:
3740
# Don't run on private repo unless it is a PR.
3841
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
39-
runs-on: macos-11
42+
runs-on: macos-12
4043
env:
4144
# This env var is set because the job has a dependency on the unpublished HeatbeatLoggingTestUtils.
4245
POD_LIB_LINT_ONLY: 1
4346
steps:
4447
- uses: actions/checkout@v2
48+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
49+
with:
50+
ruby-version: '2.7'
4551
- name: Setup Bundler
4652
run: scripts/setup_bundler.sh
4753
- name: Setup project and Build for Catalyst
@@ -50,7 +56,7 @@ jobs:
5056
diagnostics:
5157
# Don't run on private repo unless it is a PR.
5258
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
53-
runs-on: macos-11
59+
runs-on: macos-12
5460
strategy:
5561
matrix:
5662
diagnostic: [tsan, asan, ubsan]
@@ -73,7 +79,7 @@ jobs:
7379
app_check-cron-only:
7480
# Don't run on private repo.
7581
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
76-
runs-on: macos-11
82+
runs-on: macos-12
7783
strategy:
7884
matrix:
7985
flags: [
@@ -82,6 +88,9 @@ jobs:
8288
needs: pod_lib_lint
8389
steps:
8490
- uses: actions/checkout@v2
91+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
92+
with:
93+
ruby-version: '2.7'
8594
- name: Setup Bundler
8695
run: scripts/setup_bundler.sh
8796
- name: PodLibLint FirebaseAppCheck Cron
@@ -91,7 +100,7 @@ jobs:
91100
spm:
92101
# Don't run on private repo unless it is a PR.
93102
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
94-
runs-on: macos-11
103+
runs-on: macos-12
95104
strategy:
96105
matrix:
97106
target: [iOS, tvOS, macOS, catalyst, watchOS]

.github/workflows/appdistribution.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ jobs:
1919
# Don't run on private repo unless it is a PR.
2020
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2121

22-
runs-on: macos-11
22+
runs-on: macos-12
2323
strategy:
2424
matrix:
2525
target: [ios]
2626
steps:
2727
- uses: actions/checkout@v2
28+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
29+
with:
30+
ruby-version: '2.7'
2831
- name: Setup Bundler
2932
run: scripts/setup_bundler.sh
3033
- name: Build and test
@@ -36,7 +39,7 @@ jobs:
3639
# Don't run on private repo unless it is a PR.
3740
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
3841

39-
runs-on: macos-11
42+
runs-on: macos-12
4043
steps:
4144
- uses: actions/checkout@v2
4245
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
@@ -51,12 +54,15 @@ jobs:
5154
# Don't run on private repo unless it is a PR.
5255
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
5356

54-
runs-on: macos-11
57+
runs-on: macos-12
5558
steps:
5659
- uses: actions/checkout@v2
5760
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
5861
with:
5962
cache_key: ${{ matrix.os }}
63+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
64+
with:
65+
ruby-version: '2.7'
6066
- name: Setup Bundler
6167
run: scripts/setup_bundler.sh
6268
- name: Setup project and Build for Catalyst
@@ -65,7 +71,7 @@ jobs:
6571
appdistribution-cron-only:
6672
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
6773

68-
runs-on: macos-11
74+
runs-on: macos-12
6975
strategy:
7076
matrix:
7177
target: [ios]
@@ -75,6 +81,9 @@ jobs:
7581
needs: pod-lib-lint
7682
steps:
7783
- uses: actions/checkout@v2
84+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
85+
with:
86+
ruby-version: '2.7'
7887
- name: Setup Bundler
7988
run: scripts/setup_bundler.sh
8089
- name: PodLibLint App Distribution Cron

.github/workflows/archiving.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Don't run on private repo.
2020
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')
2121

22-
runs-on: macos-11
22+
runs-on: macos-12
2323
strategy:
2424
matrix:
2525
# These need to be on a single line or else the formatting won't validate.
@@ -29,6 +29,9 @@ jobs:
2929
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
3030
with:
3131
cache_key: ${{ matrix.os }}
32+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
33+
with:
34+
ruby-version: '2.7'
3235
- name: Setup Bundler
3336
run: scripts/setup_bundler.sh
3437
- name: Setup project and archive
@@ -40,7 +43,7 @@ jobs:
4043
# Don't run on private repo.
4144
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule')
4245

43-
runs-on: macos-11
46+
runs-on: macos-12
4447
strategy:
4548
matrix:
4649
target: [ios, tvos, macos]
@@ -51,6 +54,9 @@ jobs:
5154
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
5255
with:
5356
cache_key: ${{ matrix.os }}
57+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
58+
with:
59+
ruby-version: '2.7'
5460
- name: Setup Bundler
5561
run: scripts/setup_bundler.sh
5662
- name: Setup project and archive

.github/workflows/auth.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# Don't run on private repo unless it is a PR.
2222
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2323

24-
runs-on: macos-11
24+
runs-on: macos-12
2525
env:
2626
# This env var is set because the job has a dependency on the unpublished HeatbeatLoggingTestUtils.
2727
POD_LIB_LINT_ONLY: 1
@@ -30,6 +30,9 @@ jobs:
3030
target: [ios, tvos, macos, watchos]
3131
steps:
3232
- uses: actions/checkout@v2
33+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
34+
with:
35+
ruby-version: '2.7'
3336
- name: Setup Bundler
3437
run: scripts/setup_bundler.sh
3538
- name: Configure test keychain
@@ -46,12 +49,15 @@ jobs:
4649
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
4750
# This env var is set because the job has a dependency on the unpublished HeatbeatLoggingTestUtils.
4851
POD_LIB_LINT_ONLY: 1
49-
runs-on: macos-11
52+
runs-on: macos-12
5053
steps:
5154
- uses: actions/checkout@v2
5255
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
5356
with:
5457
cache_key: ${{ matrix.os }}
58+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
59+
with:
60+
ruby-version: '2.7'
5561
- name: Setup Bundler
5662
run: scripts/setup_bundler.sh
5763
- name: Prereqs
@@ -79,7 +85,7 @@ jobs:
7985
spm:
8086
# Don't run on private repo unless it is a PR.
8187
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
82-
runs-on: macos-11
88+
runs-on: macos-12
8389
strategy:
8490
matrix:
8591
target: [iOS, tvOS, macOS, catalyst, watchOS]
@@ -99,12 +105,15 @@ jobs:
99105
env:
100106
# This env var is set because the job has a dependency on the unpublished HeatbeatLoggingTestUtils.
101107
POD_LIB_LINT_ONLY: 1
102-
runs-on: macos-11
108+
runs-on: macos-12
103109
steps:
104110
- uses: actions/checkout@v2
105111
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077
106112
with:
107113
cache_key: ${{ matrix.os }}
114+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
115+
with:
116+
ruby-version: '2.7'
108117
- name: Setup Bundler
109118
run: scripts/setup_bundler.sh
110119
- name: Setup project and Build for Catalyst
@@ -118,9 +127,13 @@ jobs:
118127
env:
119128
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
120129
signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
121-
runs-on: macos-11
130+
runs-on: macos-12
122131
steps:
123132
- uses: actions/checkout@v2
133+
- uses: actions/checkout@v2
134+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
135+
with:
136+
ruby-version: '2.7'
124137
- name: Setup quickstart
125138
run: scripts/setup_quickstart.sh authentication
126139
- name: Install Secret GoogleService-Info.plist
@@ -133,7 +146,7 @@ jobs:
133146
# Don't run on private repo.
134147
if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
135148

136-
runs-on: macos-11
149+
runs-on: macos-12
137150
strategy:
138151
matrix:
139152
# The macos and tvos tests can hang, and watchOS doesn't have tests.
@@ -144,6 +157,9 @@ jobs:
144157
needs: pod-lib-lint
145158
steps:
146159
- uses: actions/checkout@v2
160+
- uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
161+
with:
162+
ruby-version: '2.7'
147163
- name: Setup Bundler
148164
run: scripts/setup_bundler.sh
149165
- name: Configure test keychain

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
check:
1616
# Don't run on private repo.
1717
if: github.repository == 'Firebase/firebase-ios-sdk'
18-
runs-on: macos-11
18+
runs-on: macos-12
1919
env:
2020
MINT_PATH: ${{ github.workspace }}/mint
2121
steps:

.github/workflows/cocoapods-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Don't run on private repo unless it is a PR.
2020
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
2121

22-
runs-on: macos-11
22+
runs-on: macos-12
2323
steps:
2424
- uses: actions/checkout@v2
2525
- uses: mikehardy/buildcache-action@50738c6c77de7f34e66b870e4f8ede333b69d077

0 commit comments

Comments
 (0)