Skip to content

Commit 70250df

Browse files
authored
Bump e2e tests to XCode 26 (#5467)
* Bump e2e tests and sample apps to XCode 26 Trying it with Cirrus Labs Native tests Fix Small fix Fixes Fix Test fixes Fixes Fix Fix Fixes Roll back sample app changes Exclude x86_64 Native tests update Podfiles Rolling back samples changes e2e Ruby version update * Fix
1 parent 1c38acd commit 70250df

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/e2e-v2.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
env:
1717
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
1818
MAESTRO_VERSION: '2.0.10'
19-
IOS_DEVICE: 'iPhone 16'
19+
IOS_DEVICE: 'iPhone 17'
2020
IOS_VERSION: '>=18.0'
2121

2222
jobs:
@@ -47,7 +47,7 @@ jobs:
4747
platform: ["ios", "android"]
4848
include:
4949
- platform: ios
50-
runs-on: macos-15
50+
runs-on: macos-26
5151
name: iOS
5252
appPlain: performance-tests/test-app-plain.ipa
5353
- platform: android
@@ -61,7 +61,7 @@ jobs:
6161
- uses: ./.github/actions/disk-cleanup
6262
if: ${{ matrix.platform == 'android' }}
6363

64-
- run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
64+
- run: sudo xcode-select -s /Applications/Xcode_26.1.1.app/Contents/Developer
6565
if: ${{ matrix.platform == 'ios' }}
6666

6767
- run: npm i -g corepack
@@ -186,9 +186,16 @@ jobs:
186186
ios-use-frameworks: ['no', 'static', 'dynamic']
187187
engine: ['hermes', 'jsc']
188188
include:
189+
# Use Xcode 16 for older RN versions
189190
- platform: ios
191+
rn-version: '0.71.19'
190192
xcode-version: '16.4'
191193
runs-on: macos-15
194+
# Use Xcode 26 for newer RN versions (0.83.0)
195+
- platform: ios
196+
rn-version: '0.83.0'
197+
xcode-version: '26.1.1'
198+
runs-on: macos-26
192199
- platform: android
193200
runs-on: ubuntu-latest
194201
exclude:
@@ -270,16 +277,13 @@ jobs:
270277
- name: Install JS Dependencies
271278
run: yarn install
272279

273-
- name: Setup Plain RN ${{ matrix.rn-version }} App
274-
run: ./dev-packages/e2e-tests/cli.mjs ${{ matrix.platform }} --create
275-
276280
- uses: ruby/setup-ruby@v1
277281
if: ${{ matrix.platform == 'ios' }}
278282
with:
279-
working-directory: dev-packages/e2e-tests/react-native-versions/${{ matrix.rn-version }}/RnDiffApp
280-
ruby-version: '3.3.0' # based on what is used in the sample
281-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
282-
cache-version: 1 # cache the installed gems
283+
ruby-version: '3.3.0'
284+
285+
- name: Setup Plain RN ${{ matrix.rn-version }} App
286+
run: ./dev-packages/e2e-tests/cli.mjs ${{ matrix.platform }} --create
283287

284288
- name: Build Plain RN ${{ matrix.rn-version }} App
285289
run: ./dev-packages/e2e-tests/cli.mjs ${{ matrix.platform }} --build
@@ -319,7 +323,7 @@ jobs:
319323
include:
320324
- platform: ios
321325
rn-version: '0.83.0'
322-
runs-on: macos-15
326+
runs-on: macos-26
323327
- platform: android
324328
runs-on: ubuntu-latest
325329

0 commit comments

Comments
 (0)