-
Notifications
You must be signed in to change notification settings - Fork 254
/
Copy pathreact-native-cli-pipeline.full.yml
122 lines (118 loc) · 4.26 KB
/
react-native-cli-pipeline.full.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
agents:
queue: "opensource"
steps:
- group: "React Native CLI Build Tests"
# Skipped on Android 0.75+ pending PLAT-13442
steps:
- label: ':android: RN CLI - {{matrix}} Android build and sourcemap upload tests'
key: "build-react-native-cli-android-fixture"
timeout_in_minutes: 15
agents:
queue: macos-14
env:
JAVA_VERSION: "17"
NODE_VERSION: "18"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "0"
BUILD_ANDROID: "true"
INIT_RN_CLI: "true"
artifact_paths:
- "test/react-native-cli/features/fixtures/generated/old-arch/**/reactnative.apk"
commands:
- "cd test/react-native-cli"
- "bundle install"
- "bundle exec maze-runner features/build-app-tests/build-android-app.feature"
matrix:
- "0.74"
retry:
automatic:
- exit_status: "*"
limit: 1
- label: ':mac: RN CLI - {{matrix}} iOS build and sourcemap upload tests'
key: "build-react-native-cli-ios-fixture"
timeout_in_minutes: 20
agents:
queue: "macos-14"
env:
NODE_VERSION: "18"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "0"
BUILD_IOS: "true"
XCODE_VERSION: "15.3.0"
INIT_RN_CLI: "true"
EXPORT_ARCHIVE: "0"
artifact_paths:
- "test/react-native-cli/features/fixtures/generated/old-arch/**/output/reactnative.ipa"
commands:
- "cd test/react-native-cli"
- "bundle install"
- "bundle exec maze-runner features/build-app-tests/build-ios-app.feature"
matrix:
- "0.77"
- "0.76"
- "0.75"
retry:
automatic:
- exit_status: "*"
limit: 1
- group: "React Native CLI notify tests"
steps:
# Skipped on Android 0.75+ pending PLAT-13442
- label: ":browserstack: :android: RN CLI - {{matrix}} Android end-to-end tests"
depends_on: "build-react-native-cli-android-fixture"
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download: "test/react-native-cli/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk"
upload: ./test/react-native-cli/maze_output/**/*
docker-compose#v4.12.0:
pull: react-native-cli-maze-runner
run: react-native-cli-maze-runner
command:
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk
- --farm=bs
- --device=ANDROID_12
- features/run-app-tests
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^main|next$$"
api-token-env-name: "REACT_NATIVE_CLI_BUILDKITE_ANALYTICS_TOKEN"
env:
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "0"
concurrency: 5
concurrency_group: "browserstack-app"
concurrency_method: eager
matrix:
- "0.74"
- label: ":browserstack: :mac: RN CLI - {{matrix}} iOS end-to-end tests"
depends_on: "build-react-native-cli-ios-fixture"
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download: "test/react-native-cli/features/fixtures/generated/old-arch/{{matrix}}/output/reactnative.ipa"
upload: ./test/react-native-cli/maze_output/**/*
docker-compose#v4.12.0:
pull: react-native-cli-maze-runner
run: react-native-cli-maze-runner
command:
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/output/reactnative.ipa
- --farm=bs
- --device=IOS_16
- features/run-app-tests
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^main|next$$"
api-token-env-name: "REACT_NATIVE_CLI_BUILDKITE_ANALYTICS_TOKEN"
env:
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "0"
concurrency: 5
concurrency_group: "browserstack-app"
concurrency_method: eager
matrix:
- "0.77"
- "0.76"
- "0.75"