-
Notifications
You must be signed in to change notification settings - Fork 4
/
pipeline.yml
189 lines (176 loc) · 5.36 KB
/
pipeline.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
agents:
queue: macos-12-arm
steps:
#
# Build Plugins
#
# UE 4.23
- label: 'Build Plugin - 4.23 Mac'
agents:
queue: opensource-mac-cocoa-10.15
env:
UE_VERSION: "4.23"
DEVELOPER_DIR: "/Applications/Xcode11.app"
NDKROOT: /Users/administrator/Library/Android/sdk/ndk/16.1.4479499
commands:
- rm -rf "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
- make package
plugins:
artifacts#v1.5.0:
upload:
- "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
artifact_paths: [Build/Plugin/*.zip]
timeout_in_minutes: 30
key: plugin_4_23
# UE 4.27
- label: 'Build Plugin - 4.27 Mac'
env:
UE_VERSION: "4.27"
DEVELOPER_DIR: "/Applications/Xcode13.app"
commands:
- rm -rf "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
- make package
plugins:
artifacts#v1.5.0:
upload:
- "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
artifact_paths: [Build/Plugin/*.zip]
timeout_in_minutes: 30
key: plugin_4_27
- label: 'Build Plugin - 4.27 Win'
agents:
queue: opensource-windows-unreal-4.27
env:
UE_VERSION: "4.27"
command: build.bat
artifact_paths: [Bugsnag-*.zip]
timeout_in_minutes: 30
#
# Build Test Fixtures
#
# UE 4.27
- name: ':android: Build E2E - 4.27 Android'
depends_on: plugin_4_27
env:
UE_VERSION: "4.27"
DEVELOPER_DIR: "/Applications/Xcode13.app"
plugins:
artifacts#v1.5.0:
download: Build/Plugin/Bugsnag-*-UE_4.27-macOS.zip
upload:
- build/TestFixture-Android-Shipping-4.27-arm64.apk
- build/TestFixture-Android-Shipping-4.27-armv7.apk
- "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
commands:
- rm -rf "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
- features/scripts/build-fixture.sh Android
timeout_in_minutes: 60
key: android_fixture_4_27
- name: ':ios: Build E2E - 4.27 iOS'
depends_on: plugin_4_27
env:
UE_VERSION: "4.27"
DEVELOPER_DIR: "/Applications/Xcode13.app"
plugins:
artifacts#v1.5.0:
download: Build/Plugin/Bugsnag-*-UE_4.27-macOS.zip
upload:
- build/TestFixture-IOS-Shipping-4.27.dSYM
- build/TestFixture-IOS-Shipping-4.27.ipa
- "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
commands:
- rm -rf "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
- features/scripts/build-fixture.sh IOS
timeout_in_minutes: 60
key: ios_fixture_4_27
- name: ':mac: Build E2E - 4.27 Mac'
depends_on: plugin_4_27
env:
UE_VERSION: "4.27"
DEVELOPER_DIR: "/Applications/Xcode13.app"
plugins:
artifacts#v1.5.0:
download: Build/Plugin/Bugsnag-*-UE_4.27-macOS.zip
upload:
- TestFixture-macOS-4.27.zip
- "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
commands:
- rm -rf "/Users/administrator/Library/Logs/Unreal Engine/LocalBuildLogs/*"
- features/scripts/build-fixture.sh Mac
timeout_in_minutes: 90
key: mac_fixture_4_27
#
# E2E Tests
#
# UE 4.27
- label: 'E2E Tests - 4.27 Android 11'
depends_on: android_fixture_4_27
timeout_in_minutes: 30
agents:
queue: opensource
plugins:
artifacts#v1.3.0:
download:
- build/TestFixture-Android-Shipping-4.27-arm64.apk
upload: ["maze_output/failed/**/*"]
docker-compose#v3.3.0:
run: maze-runner
command:
- "--app=/app/build/TestFixture-Android-Shipping-4.27-arm64.apk"
- "--appium-version=1.17.0"
- "--device=ANDROID_11_0"
- "--farm=bs"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2
- label: 'E2E Tests - 4.27 iOS 12'
depends_on: ios_fixture_4_27
timeout_in_minutes: 30
agents:
queue: opensource
plugins:
artifacts#v1.3.0:
download:
- build/TestFixture-IOS-Shipping-4.27.ipa
- build/TestFixture-IOS-Shipping-4.27.dSYM
upload: ["maze_output/failed/**/*"]
docker-compose#v3.3.0:
run: maze-runner
command:
- "--app=/app/build/TestFixture-IOS-Shipping-4.27.ipa"
- "--appium-version=1.17.0"
- "--device=IOS_12"
- "--farm=bs"
- "--order=random"
concurrency: 9
concurrency_group: browserstack-app
concurrency_method: eager
retry:
automatic:
- exit_status: -1 # Agent was lost
limit: 2
- label: 'E2E Tests - 4.27 macOS 12'
depends_on: mac_fixture_4_27
timeout_in_minutes: 10
plugins:
artifacts#v1.5.0:
download:
- TestFixture-macOS-4.27.zip
upload: ["maze_output/failed/**/*"]
commands:
- echo '--- Extracting test fixture'
- unzip TestFixture-macOS-4.27.zip
- echo '--- Installing dependencies'
- bundle install
- echo '--- Running tests'
- bundle exec maze-runner --os=macos
#
# Conditionally trigger full pipeline
#
- label: 'Conditionally trigger full set of tests'
command: sh -c .buildkite/pipeline_trigger.sh