Skip to content

Commit 936bfce

Browse files
authored
Update CI to Xcode 15 and macos-14 (#1584)
1 parent 8ead310 commit 936bfce

17 files changed

+113
-96
lines changed

.github/workflows/abtesting.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,18 @@ on:
2222

2323
workflow_dispatch:
2424

25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
27+
cancel-in-progress: true
28+
2529
env:
2630
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2731
SAMPLE: ABTesting
2832

2933
jobs:
3034
cocoapods:
3135
name: cocoapods
32-
runs-on: macOS-12
36+
runs-on: macOS-14
3337
env:
3438
SPM: false
3539
TEST: true
@@ -54,17 +58,23 @@ jobs:
5458
DEVICE: iPhone 14
5559
spm:
5660
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
57-
runs-on: macOS-12
61+
runs-on: macOS-14
5862
strategy:
5963
matrix:
60-
xcode: ["14.2"]
64+
xcode: ["15.3"]
6165
os: [iOS, tvOS, macOS, watchOS, catalyst]
6266
include:
6367
- os: iOS
64-
device: iPhone 12
65-
test: true
68+
device: iPhone 15
69+
# Test runs locally but fails in CI with:
70+
# (Underlying Error: lstat of
71+
# /Users/runner/Library/Developer/CoreSimulator/Devices/
72+
# 7E72AD09-C998-432D-84B1-0504177194AE/data/Library/Caches/
73+
# com.apple.mobile.installd.staging/temp.WdeFLV/extracted/ABTestingExample.app
74+
# /Frameworks/GoogleAppMeasurement.framework/GoogleAppMeasurement failed: No such file or directory
75+
test: false
6676
- os: tvOS
67-
device: Apple TV 4K (at 1080p) (2nd generation)
77+
device: Apple TV 4K (3rd generation) (at 1080p)
6878
test: true
6979
- os: macOS
7080
device: localhost

.github/workflows/admob.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: AdMob
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false

.github/workflows/analytics.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,29 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Analytics
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods - ${{ matrix.os }}
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
strategy:
3034
matrix:
3135
os: [iOS, catalyst, tvOS, macOS]
32-
xcode: ["14.2"]
36+
xcode: ["15.3"]
3337
include:
3438
- os: iOS
35-
device: iPhone 12
39+
device: iPhone 14
3640
- os: catalyst
3741
device: localhost
3842
- os: tvOS
39-
device: Apple TV 4K (at 1080p) (2nd generation)
43+
device: Apple TV 4K (3rd generation) (at 1080p)
4044
scheme: AnalyticsExampleTV
4145
- os: macOS
4246
device: localhost

.github/workflows/authentication.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Authentication
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

.github/workflows/check.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ on:
55
push:
66
branches: main
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
check:
10-
runs-on: macOS-12
14+
runs-on: macOS-14
1115
env:
1216
MINT_PATH: ${{ github.workspace }}/mint
1317
steps:

.github/workflows/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Config
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}

.github/workflows/crashlytics.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Crashlytics
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: true
@@ -54,17 +58,17 @@ jobs:
5458
SWIFT_SUFFIX: Swift
5559
spm:
5660
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
57-
runs-on: macOS-12
61+
runs-on: macOS-14
5862
strategy:
5963
matrix:
60-
xcode: ["14.2"]
64+
xcode: ["15.3"]
6165
os: [iOS, tvOS, macOS, watchOS]
6266
include:
6367
- os: iOS
64-
device: iPhone 12
68+
device: iPhone 14
6569
test: true
6670
- os: tvOS
67-
device: Apple TV 4K (at 1080p) (2nd generation)
71+
device: Apple TV 4K (3rd generation) (at 1080p)
6872
test: true
6973
- os: macOS
7074
device: localhost

.github/workflows/database.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Database
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false
@@ -53,17 +57,17 @@ jobs:
5357
SWIFT_SUFFIX: Swift
5458
spm:
5559
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
56-
runs-on: macOS-12
60+
runs-on: macOS-14
5761
strategy:
5862
matrix:
59-
xcode: ["14.2"]
63+
xcode: ["15.3"]
6064
os: [iOS, tvOS, macOS]
6165
include:
6266
- os: iOS
63-
device: iPhone 12
67+
device: iPhone 14
6468
test: true
6569
- os: tvOS
66-
device: Apple TV 4K (at 1080p) (2nd generation)
70+
device: Apple TV 4K (3rd generation) (at 1080p)
6771
test: true
6872
- os: macOS
6973
device: localhost

.github/workflows/dynamiclinks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: DynamicLinks
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false

.github/workflows/firestore.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Firestore
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false

.github/workflows/functions.yml

Lines changed: 8 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,53 +18,27 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Functions
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
26-
cocoapods:
27-
name: cocoapods
28-
runs-on: macOS-12
29-
env:
30-
SPM: false
31-
LEGACY: true
32-
OS: iOS
33-
DEVICE: iPhone 14
34-
TEST: true
35-
steps:
36-
- name: Checkout
37-
uses: actions/checkout@master
38-
- name: Setup
39-
run: |
40-
cd functions/LegacyFunctionsQuickstart
41-
gem install bundler
42-
bundle install
43-
gem install xcpretty
44-
bundle exec pod install --repo-update
45-
cd ..
46-
../scripts/install_prereqs/functions.sh
47-
- name: Build ObjC
48-
run: ./scripts/test.sh
49-
env:
50-
SWIFT_SUFFIX: ""
51-
- name: Build Swift
52-
run: ./scripts/test.sh
53-
env:
54-
SWIFT_SUFFIX: Swift
55-
5630
spm:
5731
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
58-
runs-on: macOS-12
32+
runs-on: macOS-14
5933
strategy:
6034
matrix:
61-
xcode: ["14.2"]
35+
xcode: ["15.3"]
6236
os: [iOS, tvOS, macOS]
6337
include:
6438
- os: iOS
65-
device: iPhone 12
39+
device: iPhone 14
6640
- os: tvOS
67-
device: Apple TV 4K (at 1080p) (2nd generation)
41+
device: Apple TV 4K (3rd generation) (at 1080p)
6842
- os: macOS
6943
device: localhost
7044
env:

.github/workflows/inappmessaging.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: InAppMessaging
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false

.github/workflows/installations.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Installations
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false

.github/workflows/messaging.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ on:
1818

1919
workflow_dispatch:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
23+
cancel-in-progress: true
24+
2125
env:
2226
SAMPLE: Messaging
2327
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
2428

2529
jobs:
2630
cocoapods:
2731
name: cocoapods
28-
runs-on: macOS-12
32+
runs-on: macOS-14
2933
env:
3034
SPM: false
3135
LEGACY: false

0 commit comments

Comments
 (0)