Skip to content

Commit ebae010

Browse files
ci(react-native): add 0.81 and 0.82 to test matrix (#2594)
* ci(react-native): add 0.82 to test matrix * ci(react-native): bump react-navigation dependencies for test fixtures
1 parent 228db06 commit ebae010

File tree

7 files changed

+84
-179
lines changed

7 files changed

+84
-179
lines changed

.buildkite/basic/react-native-android-full-pipeline.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ steps:
1212
key: "build-react-native-android-fixture-old-arch-full"
1313
timeout_in_minutes: 15
1414
agents:
15-
queue: macos-node-18
15+
queue: macos-15
1616
env:
1717
JAVA_VERSION: "{{matrix.java}}"
18-
NODE_VERSION: "18"
18+
NODE_VERSION: "{{matrix.node}}"
1919
RN_VERSION: "{{matrix.reactnative}}"
2020
RCT_NEW_ARCH_ENABLED: "0"
2121
BUILD_ANDROID: "true"
@@ -31,16 +31,21 @@ steps:
3131
- "0.74"
3232
- "0.76"
3333
- "0.78"
34-
- "0.79"
34+
- "0.80"
35+
- "0.81"
3536
java:
3637
- "17"
38+
node:
39+
- "22"
3740
adjustments:
3841
- with:
3942
reactnative: "0.68"
4043
java: "11"
44+
node: "18"
4145
- with:
4246
reactnative: "0.69"
4347
java: "11"
48+
node: "18"
4449
retry:
4550
automatic:
4651
- exit_status: "*"
@@ -50,10 +55,10 @@ steps:
5055
key: "build-react-native-android-fixture-new-arch-full"
5156
timeout_in_minutes: 15
5257
agents:
53-
queue: macos-node-18
58+
queue: macos-15
5459
env:
5560
JAVA_VERSION: "17"
56-
NODE_VERSION: "18"
61+
NODE_VERSION: "22"
5762
RN_VERSION: "{{matrix}}"
5863
RCT_NEW_ARCH_ENABLED: "1"
5964
BUILD_ANDROID: "true"
@@ -71,7 +76,8 @@ steps:
7176
- "0.74"
7277
- "0.76"
7378
- "0.78"
74-
- "0.79"
79+
- "0.80"
80+
- "0.81"
7581

7682
- label: ':android: Build react-native-navigation {{matrix}} test fixture APK (Old Arch)'
7783
skip: true # Skipped pending PLAT-15027
@@ -169,7 +175,8 @@ steps:
169175
- "0.74"
170176
- "0.76"
171177
- "0.78"
172-
- "0.79"
178+
- "0.80"
179+
- "0.81"
173180

174181
# current latest version (v7.40.1) of react-native-navigation's autolinking tool doesn't support RN 0.73+,
175182
# causing a build failure - see https://github.com/wix/react-native-navigation/issues/7821
@@ -215,7 +222,8 @@ steps:
215222
- "0.74"
216223
- "0.76"
217224
- "0.78"
218-
- "0.79"
225+
- "0.80"
226+
- "0.81"
219227

220228
- label: ":bitbar: :android: react-native-navigation {{matrix}} Android 12 (Old Arch) end-to-end tests"
221229
skip: true # Skipped pending PLAT-15027

.buildkite/basic/react-native-android-pipeline.yml

Lines changed: 5 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,13 @@ steps:
55

66
- group: "React Native (Android) Tests"
77
steps:
8-
- label: ':android: Build RN {{matrix}} test fixture APK (Old Arch)'
9-
key: "build-react-native-android-fixture-old-arch"
10-
timeout_in_minutes: 15
11-
agents:
12-
queue: macos-node-18
13-
env:
14-
JAVA_VERSION: "17"
15-
NODE_VERSION: "18"
16-
RN_VERSION: "{{matrix}}"
17-
RCT_NEW_ARCH_ENABLED: "0"
18-
BUILD_ANDROID: "true"
19-
artifact_paths:
20-
- "test/react-native/features/fixtures/generated/old-arch/**/reactnative.apk"
21-
commands:
22-
- "bundle install"
23-
- "node scripts/generate-react-native-fixture.js"
24-
matrix:
25-
- "0.80"
26-
retry:
27-
automatic:
28-
- exit_status: "*"
29-
limit: 1
30-
31-
- label: ':android: Build RN {{matrix}} test fixture APK (New Arch)'
8+
- label: ':android: Build RN {{matrix}} test fixture APK'
329
key: "build-react-native-android-fixture-new-arch"
3310
timeout_in_minutes: 15
3411
agents:
35-
queue: macos-node-18
12+
queue: macos-15
3613
env:
3714
JAVA_VERSION: "17"
38-
NODE_VERSION: "18"
3915
RN_VERSION: "{{matrix}}"
4016
RCT_NEW_ARCH_ENABLED: "1"
4117
BUILD_ANDROID: "true"
@@ -49,51 +25,12 @@ steps:
4925
- exit_status: "*"
5026
limit: 1
5127
matrix:
52-
- "0.80"
28+
- "0.82"
5329

5430
#
5531
# End-to-end tests
5632
#
57-
- label: ":bitbar: :android: RN {{matrix}} Android 12 (Old Arch) end-to-end tests"
58-
depends_on: "build-react-native-android-fixture-old-arch"
59-
timeout_in_minutes: 30
60-
plugins:
61-
artifacts#v1.9.0:
62-
download: "test/react-native/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk"
63-
upload: ./test/react-native/maze_output/**/*
64-
docker-compose#v4.12.0:
65-
pull: react-native-maze-runner
66-
run: react-native-maze-runner
67-
service-ports: true
68-
command:
69-
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk
70-
- --farm=bb
71-
- --device=ANDROID_12
72-
- --appium-version=1.22
73-
- --fail-fast
74-
- --no-tunnel
75-
- --aws-public-ip
76-
test-collector#v1.10.2:
77-
files: "reports/TEST-*.xml"
78-
format: "junit"
79-
branch: "^main|next$$"
80-
api-token-env-name: "REACT_NATIVE_BUILDKITE_ANALYTICS_TOKEN"
81-
retry:
82-
manual:
83-
permit_on_passed: true
84-
automatic:
85-
- exit_status: 103 # Appium session failed
86-
limit: 2
87-
env:
88-
RN_VERSION: "{{matrix}}"
89-
RCT_NEW_ARCH_ENABLED: "0"
90-
concurrency: 25
91-
concurrency_group: "bitbar"
92-
concurrency_method: eager
93-
matrix:
94-
- "0.80"
95-
96-
- label: ":bitbar: :android: RN {{matrix}} Android 12 (New Arch) end-to-end tests"
33+
- label: ":bitbar: :android: RN {{matrix}} Android 12 end-to-end tests"
9734
depends_on: "build-react-native-android-fixture-new-arch"
9835
timeout_in_minutes: 30
9936
plugins:
@@ -130,5 +67,5 @@ steps:
13067
concurrency_group: "bitbar"
13168
concurrency_method: eager
13269
matrix:
133-
- "0.80"
70+
- "0.82"
13471

.buildkite/basic/react-native-cli-pipeline.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ steps:
1313
queue: "macos-15-isolated"
1414
env:
1515
JAVA_VERSION: "17"
16-
NODE_VERSION: "18"
16+
NODE_VERSION: "22"
1717
RN_VERSION: "{{matrix}}"
18-
RCT_NEW_ARCH_ENABLED: "0"
18+
RCT_NEW_ARCH_ENABLED: "1"
1919
BUILD_ANDROID: "true"
2020
INIT_RN_CLI: "true"
2121
artifact_paths:
22-
- "test/react-native-cli/features/fixtures/generated/old-arch/**/reactnative.apk"
22+
- "test/react-native-cli/features/fixtures/generated/new-arch/**/reactnative.apk"
2323
commands:
2424
- "cd test/react-native-cli"
2525
- "bundle install"
2626
- "bundle exec maze-runner features/build-app-tests/build-android-app.feature"
2727
matrix:
28+
- "0.82"
29+
- "0.81"
2830
- "0.80"
29-
- "0.79"
30-
- "0.78"
3131
retry:
3232
automatic:
3333
- exit_status: "*"
@@ -40,23 +40,23 @@ steps:
4040
agents:
4141
queue: "macos-15-isolated"
4242
env:
43-
NODE_VERSION: "18"
43+
NODE_VERSION: "22"
4444
RN_VERSION: "{{matrix}}"
45-
RCT_NEW_ARCH_ENABLED: "0"
45+
RCT_NEW_ARCH_ENABLED: "1"
4646
BUILD_IOS: "true"
4747
XCODE_VERSION: "16.2.0"
4848
INIT_RN_CLI: "true"
4949
EXPORT_ARCHIVE: "0"
5050
artifact_paths:
51-
- "test/react-native-cli/features/fixtures/generated/old-arch/**/output/reactnative.ipa"
51+
- "test/react-native-cli/features/fixtures/generated/new-arch/**/output/reactnative.ipa"
5252
commands:
5353
- "cd test/react-native-cli"
5454
- "bundle install"
5555
- "bundle exec maze-runner features/build-app-tests/build-ios-app.feature"
5656
matrix:
57+
- "0.82"
58+
- "0.81"
5759
- "0.80"
58-
- "0.79"
59-
- "0.78"
6060
retry:
6161
automatic:
6262
- exit_status: "*"
@@ -70,13 +70,13 @@ steps:
7070
timeout_in_minutes: 30
7171
plugins:
7272
artifacts#v1.9.0:
73-
download: "test/react-native-cli/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk"
73+
download: "test/react-native-cli/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk"
7474
upload: ./test/react-native-cli/maze_output/**/*
7575
docker-compose#v4.12.0:
7676
pull: react-native-cli-maze-runner
7777
run: react-native-cli-maze-runner
7878
command:
79-
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk
79+
- --app=/app/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk
8080
- --farm=bs
8181
- --device=ANDROID_12
8282
- features/run-app-tests
@@ -92,9 +92,9 @@ steps:
9292
concurrency_group: "browserstack-app"
9393
concurrency_method: eager
9494
matrix:
95+
- "0.82"
96+
- "0.81"
9597
- "0.80"
96-
- "0.79"
97-
- "0.78"
9898
retry:
9999
automatic:
100100
- exit_status: 103 # Appium session failed
@@ -105,13 +105,13 @@ steps:
105105
timeout_in_minutes: 30
106106
plugins:
107107
artifacts#v1.9.0:
108-
download: "test/react-native-cli/features/fixtures/generated/old-arch/{{matrix}}/output/reactnative.ipa"
108+
download: "test/react-native-cli/features/fixtures/generated/new-arch/{{matrix}}/output/reactnative.ipa"
109109
upload: ./test/react-native-cli/maze_output/**/*
110110
docker-compose#v4.12.0:
111111
pull: react-native-cli-maze-runner
112112
run: react-native-cli-maze-runner
113113
command:
114-
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/output/reactnative.ipa
114+
- --app=/app/features/fixtures/generated/new-arch/{{matrix}}/output/reactnative.ipa
115115
- --farm=bs
116116
- --device=IOS_16
117117
- features/run-app-tests
@@ -127,9 +127,9 @@ steps:
127127
concurrency_group: "browserstack-app"
128128
concurrency_method: eager
129129
matrix:
130+
- "0.82"
131+
- "0.81"
130132
- "0.80"
131-
- "0.79"
132-
- "0.78"
133133
retry:
134134
automatic:
135135
- exit_status: 103 # Appium session failed

.buildkite/basic/react-native-ios-full-pipeline.yml

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ steps:
99
#
1010
# Test fixtures
1111
#
12-
- label: ':mac: Build RN {{matrix}} test fixture ipa (Old Arch)'
12+
- label: ':mac: Build RN {{matrix.reactnative}} test fixture ipa (Old Arch)'
1313
key: "build-react-native-ios-fixture-old-arch-full"
1414
timeout_in_minutes: 30
1515
agents:
1616
queue: "macos-15"
1717
env:
18-
NODE_VERSION: "18"
19-
RN_VERSION: "{{matrix}}"
18+
NODE_VERSION: "{{matrix.node}}"
19+
RN_VERSION: "{{matrix.reactnative}}"
2020
RCT_NEW_ARCH_ENABLED: "0"
2121
BUILD_IOS: "true"
2222
XCODE_VERSION: "16.2.0"
@@ -26,13 +26,23 @@ steps:
2626
- "bundle install"
2727
- "node scripts/generate-react-native-fixture.js"
2828
matrix:
29-
- "0.68"
30-
- "0.69"
31-
- "0.72"
32-
- "0.74"
33-
- "0.76"
34-
- "0.78"
35-
- "0.79"
29+
setup:
30+
reactnative:
31+
- "0.72"
32+
- "0.74"
33+
- "0.76"
34+
- "0.78"
35+
- "0.80"
36+
- "0.81"
37+
node:
38+
- "22"
39+
adjustments:
40+
- with:
41+
reactnative: "0.68"
42+
node: "18"
43+
- with:
44+
reactnative: "0.69"
45+
node: "18"
3646
retry:
3747
automatic:
3848
- exit_status: "*"
@@ -44,7 +54,7 @@ steps:
4454
agents:
4555
queue: "macos-15"
4656
env:
47-
NODE_VERSION: "18"
57+
NODE_VERSION: "22"
4858
RN_VERSION: "{{matrix}}"
4959
RCT_NEW_ARCH_ENABLED: "1"
5060
BUILD_IOS: "true"
@@ -59,7 +69,8 @@ steps:
5969
- "0.74"
6070
- "0.76"
6171
- "0.78"
62-
- "0.79"
72+
- "0.80"
73+
- "0.81"
6374
retry:
6475
automatic:
6576
- exit_status: "*"
@@ -161,7 +172,8 @@ steps:
161172
- "0.74"
162173
- "0.76"
163174
- "0.78"
164-
- "0.79"
175+
- "0.80"
176+
- "0.81"
165177

166178
- label: ":bitbar: :mac: RN {{matrix}} iOS (New Arch) end-to-end tests"
167179
depends_on: "build-react-native-ios-fixture-new-arch-full"
@@ -203,7 +215,8 @@ steps:
203215
- "0.74"
204216
- "0.76"
205217
- "0.78"
206-
- "0.79"
218+
- "0.80"
219+
- "0.81"
207220

208221
# current latest version (v7.40.1) of react-native-navigation's autolinking tool doesn't currently support RN 0.73+,
209222
# causing a build failure - see https://github.com/wix/react-native-navigation/issues/7821

0 commit comments

Comments
 (0)