Skip to content

Commit 2568585

Browse files
committed
[iOS][CI] Bump Machines to macos-15
1 parent 59affc3 commit 2568585

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.github/actions/setup-xcode/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
xcode-version:
55
description: 'The xcode version to use'
66
required: false
7-
default: '16.2.0'
7+
default: '16.4.0'
88
runs:
99
using: "composite"
1010
steps:

.github/workflows/prebuild-ios-core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
build-rn-slice:
14-
runs-on: macos-14
14+
runs-on: macos-15
1515
strategy:
1616
fail-fast: false
1717
matrix:
@@ -109,7 +109,7 @@ jobs:
109109
packages/react-native/.build/headers
110110
111111
compose-xcframework:
112-
runs-on: macos-14
112+
runs-on: macos-15
113113
needs: [build-rn-slice]
114114
strategy:
115115
fail-fast: false

.github/workflows/prebuild-ios-dependencies.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
prepare_workspace:
99
name: Prepare workspace
10-
runs-on: macos-14
10+
runs-on: macos-15
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/cache/restore@v4
1919
with:
2020
path: packages/react-native/third-party/
21-
key: v2-ios-dependencies-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
21+
key: v3-ios-dependencies-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
2222
enableCrossOsArchive: true
2323
- name: Yarn Install
2424
if: steps.restore-ios-prebuilds.outputs.cache-hit != 'true'
@@ -40,13 +40,13 @@ jobs:
4040
uses: actions/cache/save@v4
4141
if: ${{ github.ref == 'refs/heads/main' }} # To avoid that the cache explode
4242
with:
43-
key: v2-ios-dependencies-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
43+
key: v3-ios-dependencies-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
4444
enableCrossOsArchive: true
4545
path: packages/react-native/third-party/
4646

4747
build-apple-slices:
4848
name: Build Apple Slice
49-
runs-on: macos-14
49+
runs-on: macos-15
5050
needs: [prepare_workspace]
5151
strategy:
5252
fail-fast: false
@@ -74,7 +74,7 @@ jobs:
7474
uses: actions/cache/restore@v4
7575
with:
7676
path: packages/react-native/third-party/.build/Build/Products
77-
key: v2-ios-dependencies-slice-folder-${{ matrix.slice }}-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
77+
key: v3-ios-dependencies-slice-folder-${{ matrix.slice }}-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
7878
- name: Yarn Install
7979
if: steps.restore-slice-folder.outputs.cache-hit != 'true'
8080
uses: ./.github/actions/yarn-install
@@ -107,14 +107,14 @@ jobs:
107107
uses: actions/cache/save@v4
108108
if: ${{ github.ref == 'refs/heads/main' }} # To avoid that the cache explode
109109
with:
110-
key: v2-ios-dependencies-slice-folder-${{ matrix.slice }}-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
110+
key: v3-ios-dependencies-slice-folder-${{ matrix.slice }}-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
111111
enableCrossOsArchive: true
112112
path: |
113113
packages/react-native/third-party/.build/Build/Products
114114
115115
create-xcframework:
116116
name: Prepare XCFramework
117-
runs-on: macos-14
117+
runs-on: macos-15
118118
needs: [build-apple-slices]
119119
strategy:
120120
fail-fast: false
@@ -138,7 +138,7 @@ jobs:
138138
with:
139139
path: |
140140
packages/react-native/third-party/
141-
key: v2-ios-dependencies-xcframework-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
141+
key: v3-ios-dependencies-xcframework-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
142142
# If cache hit, we already have our binary. We don't need to do anything.
143143
- name: Yarn Install
144144
if: steps.restore-xcframework.outputs.cache-hit != 'true'
@@ -200,4 +200,4 @@ jobs:
200200
path: |
201201
packages/react-native/third-party/ReactNativeDependencies${{ matrix.flavor }}.xcframework.tar.gz
202202
packages/react-native/third-party/ReactNativeDependencies${{ matrix.flavor }}.framework.dSYM.tar.gz
203-
key: v2-ios-dependencies-xcframework-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}
203+
key: v3-ios-dependencies-xcframework-${{ matrix.flavor }}-${{ hashfiles('scripts/releases/ios-prebuild/configuration.js') }}

.github/workflows/test-all.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
needs: [prebuild_apple_dependencies]
4747

4848
test_ios_rntester_ruby_3_2_0:
49-
runs-on: macos-14
49+
runs-on: macos-15
5050
needs:
5151
[prebuild_apple_dependencies, prebuild_react_native_core]
5252
steps:
@@ -59,7 +59,7 @@ jobs:
5959
flavor: Debug
6060

6161
test_ios_rntester:
62-
runs-on: macos-14-large
62+
runs-on: macos-15-large
6363
needs:
6464
[prebuild_apple_dependencies, prebuild_react_native_core]
6565
continue-on-error: true
@@ -78,7 +78,7 @@ jobs:
7878
flavor: ${{ matrix.flavor }}
7979

8080
test_e2e_ios_rntester:
81-
runs-on: macos-14-large
81+
runs-on: macos-15-large
8282
needs:
8383
[test_ios_rntester]
8484
strategy:
@@ -108,7 +108,7 @@ jobs:
108108
flavor: ${{ matrix.flavor }}
109109

110110
test_e2e_ios_templateapp:
111-
runs-on: macos-14-large
111+
runs-on: macos-15-large
112112
needs: [build_npm_package, prebuild_apple_dependencies]
113113
strategy:
114114
fail-fast: false
@@ -418,7 +418,7 @@ jobs:
418418
compression-level: 0
419419

420420
test_ios_helloworld_with_ruby_3_2_0:
421-
runs-on: macos-14
421+
runs-on: macos-15
422422
needs: [prebuild_apple_dependencies, prebuild_react_native_core]
423423
env:
424424
PROJECT_NAME: iOSTemplateProject
@@ -432,7 +432,7 @@ jobs:
432432
flavor: Debug
433433

434434
test_ios_helloworld:
435-
runs-on: macos-14
435+
runs-on: macos-15
436436
needs: [prebuild_apple_dependencies, prebuild_react_native_core]
437437
strategy:
438438
matrix:

0 commit comments

Comments
 (0)