1+ aliases :
2+ - &2020 "2020.3.48f1"
3+ - &2021 "2021.3.27f1"
4+ - &2022 "2022.3.2f1"
5+
16agents :
27 queue : macos-12-arm-unity
38steps :
49 - label : Build released library artifact
510 timeout_in_minutes : 30
611 key : build-artifacts
712 env :
8- UNITY_PERFORMANCE_VERSION : 2020.3.48f1
13+ UNITY_PERFORMANCE_VERSION : * 2020
914 commands :
1015 - bundle install
1116 - ' bundle exec rake plugin:build:export'
2126 timeout_in_minutes : 10
2227 depends_on : build-artifacts
2328 env :
24- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
29+ UNITY_PERFORMANCE_VERSION : * 2021
2530 plugins :
2631 ' artifacts#v1.9.0 ' :
2732 download :
@@ -36,13 +41,13 @@ steps:
3641 key : build-webgl-fixture-2021
3742 depends_on : build-artifacts
3843 env :
39- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
44+ UNITY_PERFORMANCE_VERSION : * 2021
4045 plugins :
4146 ' artifacts#v1.9.0 ' :
4247 download :
4348 - upm-package.zip
4449 upload :
45- - features/fixtures/mazerunner/mazerunner_webgl_2021.3.27f1. zip
50+ - features/fixtures/mazerunner/mazerunner_webgl_2021.zip
4651 - features/fixtures/build_webgl.log
4752 commands :
4853 - ' rake test:webgl:build'
@@ -56,11 +61,11 @@ steps:
5661 agents :
5762 queue : macos-12-arm-unity
5863 env :
59- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
64+ UNITY_PERFORMANCE_VERSION : * 2021
6065 plugins :
6166 ' artifacts#v1.5.0 ' :
6267 download :
63- - features/fixtures/mazerunner/mazerunner_webgl_2021.3.27f1. zip
68+ - features/fixtures/mazerunner/mazerunner_webgl_2021.zip
6469 upload :
6570 - maze_output/**/*
6671 - ' *-mazerunner.log'
@@ -70,55 +75,100 @@ steps:
7075 - features/scripts/run-webgl-ci-tests.sh
7176
7277
78+ - label : ' :windows: Build Windows test fixture for Unity 2021'
79+ timeout_in_minutes : 30
80+ key : build-windows-fixture-2021
81+ depends_on : build-artifacts
82+ agents :
83+ queue : windows-unity-wsl
84+ env :
85+ UNITY_PERFORMANCE_VERSION : *2021
86+ plugins :
87+ ' artifacts#v1.9.0 ' :
88+ download :
89+ - upm-package.zip
90+ upload :
91+ - features/fixtures/mazerunner/build/Windows-2021.zip
92+ - features/fixtures/build_windows.log
93+ commands :
94+ - features/scripts/import_package.sh
95+ - features/scripts/build_windows.sh
96+ retry :
97+ automatic :
98+ - exit_status : ' *'
99+ limit : 1
100+
101+ - label : Run Windows e2e tests for Unity 2021
102+ timeout_in_minutes : 60
103+ depends_on : build-windows-fixture-2021
104+ agents :
105+ queue : windows-unity-wsl
106+ env :
107+ UNITY_PERFORMANCE_VERSION : *2021
108+ plugins :
109+ ' artifacts#v1.5.0 ' :
110+ download :
111+ - features/fixtures/mazerunner/build/Windows-2021.zip
112+ upload :
113+ - maze_output/**/*
114+ - ' *-mazerunner.log'
115+ - ' clear_cache.log'
116+ - maze_output/metrics.csv
117+ commands :
118+ - features/scripts/run-windows-ci-tests.sh
119+
120+
73121 - label : ' :macos: Build macos test fixture for Unity 2021'
74122 timeout_in_minutes : 30
75123 key : build-macos-fixture-2021
76124 depends_on : build-artifacts
77125 env :
78- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
126+ UNITY_PERFORMANCE_VERSION : * 2021
79127 plugins :
80128 ' artifacts#v1.9.0 ' :
81129 download :
82130 - upm-package.zip
83131 upload :
84- - features/fixtures/mazerunner/mazerunner_macos_2021.3.27f1. zip
132+ - features/fixtures/mazerunner/mazerunner_macos_2021.zip
85133 - features/fixtures/build_macos.log
86134 commands :
87135 - ' rake test:macos:build'
88136 retry :
89137 automatic :
90138 - exit_status : ' *'
91139 limit : 1
140+
92141 - label : Run MacOS e2e tests for Unity 2021
93142 timeout_in_minutes : 60
94143 depends_on : build-macos-fixture-2021
95144 agents :
96145 queue : macos-12-arm-unity
97146 env :
98- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
147+ UNITY_PERFORMANCE_VERSION : * 2021
99148 plugins :
100149 ' artifacts#v1.5.0 ' :
101150 download :
102- - features/fixtures/mazerunner/mazerunner_macos_2021.3.27f1. zip
151+ - features/fixtures/mazerunner/mazerunner_macos_2021.zip
103152 upload :
104153 - maze_output/**/*
105154 - ' *-mazerunner.log'
106155 - ' clear_cache.log'
107156 - maze_output/metrics.csv
108157 commands :
109158 - features/scripts/run-macos-ci-tests.sh
159+
110160 - label : ' :android: Build Android test fixture for Unity 2021'
111161 timeout_in_minutes : 30
112162 key : build-android-fixture-2021
113163 depends_on : build-artifacts
114164 env :
115- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
165+ UNITY_PERFORMANCE_VERSION : * 2021
116166 plugins :
117167 ' artifacts#v1.9.0 ' :
118168 download :
119169 - upm-package.zip
120170 upload :
121- - features/fixtures/mazerunner/mazerunner_2021.3.27f1. apk
171+ - features/fixtures/mazerunner/mazerunner_2021.apk
122172 - features/fixtures/import_package.log
123173 - features/fixtures/build_android.log
124174 commands :
@@ -127,6 +177,7 @@ steps:
127177 automatic :
128178 - exit_status : ' *'
129179 limit : 1
180+
130181 - label : ' :bitbar: Run Android e2e tests for Unity 2021'
131182 timeout_in_minutes : 60
132183 depends_on : build-android-fixture-2021
@@ -135,28 +186,30 @@ steps:
135186 plugins :
136187 ' artifacts#v1.9.0 ' :
137188 download :
138- - features/fixtures/mazerunner/mazerunner_2021.3.27f1. apk
189+ - features/fixtures/mazerunner/mazerunner_2021.apk
139190 upload :
140191 - maze_output/**/*
141192 ' docker-compose#v4.8.0 ' :
142193 pull : maze-runner
143194 run : maze-runner
144195 service-ports : true
145196 command :
146- - ' --app=/app/features/fixtures/mazerunner/mazerunner_2021.3.27f1. apk'
197+ - ' --app=/app/features/fixtures/mazerunner/mazerunner_2021.apk'
147198 - ' --farm=bb'
148199 - ' --device=ANDROID_9|ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13'
149200 - ' --no-tunnel'
150201 - ' --aws-public-ip'
202+ - ' --fail-fast'
151203 concurrency : 25
152204 concurrency_group : bitbar
153205 concurrency_method : eager
206+
154207 - label : ' :ios: Generate Xcode project - Unity 2021'
155208 timeout_in_minutes : 30
156209 key : generate-fixture-project-2021
157210 depends_on : build-artifacts
158211 env :
159- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
212+ UNITY_PERFORMANCE_VERSION : * 2021
160213 plugins :
161214 ' artifacts#v1.9.0 ' :
162215 download :
@@ -171,19 +224,20 @@ steps:
171224 automatic :
172225 - exit_status : ' *'
173226 limit : 1
227+
174228 - label : ' :ios: Build iOS test fixture for Unity 2021'
175229 timeout_in_minutes : 30
176230 key : build-ios-fixture-2021
177231 depends_on : generate-fixture-project-2021
178232 env :
179233 DEVELOPER_DIR : /Applications/Xcode14.0.app
180- UNITY_PERFORMANCE_VERSION : 2021.3.27f1
234+ UNITY_PERFORMANCE_VERSION : * 2021
181235 plugins :
182236 ' artifacts#v1.9.0 ' :
183237 download :
184238 - project_2021.tgz
185239 upload :
186- - features/fixtures/mazerunner/mazerunner_2021.3.27f1. ipa
240+ - features/fixtures/mazerunner/mazerunner_2021.ipa
187241 - features/fixtures/unity.log
188242 commands :
189243 - tar -zxf project_2021.tgz features/fixtures/mazerunner
@@ -192,6 +246,7 @@ steps:
192246 automatic :
193247 - exit_status : ' *'
194248 limit : 1
249+
195250 - label : ' :bitbar: Run iOS e2e tests for Unity 2021'
196251 timeout_in_minutes : 60
197252 depends_on : build-ios-fixture-2021
@@ -200,19 +255,20 @@ steps:
200255 plugins :
201256 ' artifacts#v1.9.0 ' :
202257 download :
203- - features/fixtures/mazerunner/mazerunner_2021.3.27f1. ipa
258+ - features/fixtures/mazerunner/mazerunner_2021.ipa
204259 upload :
205260 - maze_output/**/*
206261 ' docker-compose#v4.8.0 ' :
207262 pull : maze-runner
208263 run : maze-runner
209264 service-ports : true
210265 command :
211- - ' --app=/app/features/fixtures/mazerunner/mazerunner_2021.3.27f1. ipa'
266+ - ' --app=/app/features/fixtures/mazerunner/mazerunner_2021.ipa'
212267 - ' --farm=bb'
213268 - ' --device=IOS_15'
214269 - ' --no-tunnel'
215270 - ' --aws-public-ip'
271+ - ' --fail-fast'
216272 concurrency : 25
217273 concurrency_group : bitbar
218274 concurrency_method : eager
0 commit comments