33
44steps :
55
6+ # Note:
7+ # The basic pipeline handles Unity 2020, but doesn't include the building of test fixtures for WebGL, macOS and
8+ # Windows. They are included here instead.
9+
610 # Build MacOS and WebGL test fixtures
711 #
812 - label : Build Unity 2018 MacOS and WebGL test fixtures
@@ -53,13 +57,37 @@ steps:
5357 - exit_status : " *"
5458 limit : 1
5559
60+ - label : Build Unity 2020 MacOS and WebGL test fixtures
61+ timeout_in_minutes : 30
62+ key : ' cocoa-webgl-2020-fixtures'
63+ depends_on : ' build-artifacts'
64+ env :
65+ DEVELOPER_DIR : " /Applications/Xcode13.4.app"
66+ UNITY_VERSION : " 2020.3.48f1"
67+ # Python2 needed for WebGL to build
68+ EMSDK_PYTHON : " /Library/Frameworks/Python.framework/Versions/2.7/bin/python"
69+ plugins :
70+ artifacts#v1.5.0:
71+ download :
72+ - Bugsnag.unitypackage
73+ commands :
74+ - scripts/ci-build-macos-packages.sh
75+ artifact_paths :
76+ - unity.log
77+ - features/fixtures/maze_runner/build/MacOS-2020.3.48f1.zip
78+ - features/fixtures/maze_runner/build/WebGL-2020.3.48f1.zip
79+ retry :
80+ automatic :
81+ - exit_status : " *"
82+ limit : 1
83+
5684 - label : Build Unity 2021 MacOS and WebGL test fixtures
5785 timeout_in_minutes : 30
5886 key : ' cocoa-webgl-2021-fixtures'
5987 depends_on : ' build-artifacts'
6088 env :
6189 DEVELOPER_DIR : " /Applications/Xcode13.4.app"
62- UNITY_VERSION : " 2021.3.13f1 "
90+ UNITY_VERSION : " 2021.3.27f1 "
6391 plugins :
6492 artifacts#v1.5.0:
6593 download :
6896 - scripts/ci-build-macos-packages.sh
6997 artifact_paths :
7098 - unity.log
71- - features/fixtures/maze_runner/build/MacOS-2021.3.13f1 .zip
72- - features/fixtures/maze_runner/build/WebGL-2021.3.13f1 .zip
99+ - features/fixtures/maze_runner/build/MacOS-2021.3.27f1 .zip
100+ - features/fixtures/maze_runner/build/WebGL-2021.3.27f1 .zip
73101 retry :
74102 automatic :
75103 - exit_status : " *"
@@ -114,18 +142,36 @@ steps:
114142 commands :
115143 - scripts/ci-run-macos-tests-csharp.sh
116144
145+ - label : Run MacOS e2e csharp tests
146+ timeout_in_minutes : 60
147+ depends_on : ' cocoa-webgl-2020-fixtures'
148+ agents :
149+ queue : macos-12-arm-unity
150+ env :
151+ UNITY_VERSION : " 2020.3.48f1"
152+ plugins :
153+ artifacts#v1.5.0:
154+ download :
155+ - features/fixtures/maze_runner/build/MacOS-2020.3.48f1.zip
156+ upload :
157+ - maze_output/**/*
158+ - Mazerunner.log
159+ - maze_output/metrics.csv
160+ commands :
161+ - scripts/ci-run-macos-tests-csharp.sh
162+
117163 # DISABLED Pending PLAT-9177
118164 # - label: Run MacOS e2e tests for Unity 2021
119165 # timeout_in_minutes: 60
120166 # depends_on: 'cocoa-webgl-2021-fixtures'
121167 # agents:
122168 # queue: macos-12-arm-unity
123169 # env:
124- # UNITY_VERSION: "2021.3.13f1 "
170+ # UNITY_VERSION: "2021.3.27f1 "
125171 # plugins:
126172 # artifacts#v1.5.0:
127173 # download:
128- # - features/fixtures/maze_runner/build/MacOS-2021.3.13f1 .zip
174+ # - features/fixtures/maze_runner/build/MacOS-2021.3.27f1 .zip
129175 # upload:
130176 # - maze_output/**/*
131177 # - Mazerunner.log
@@ -173,16 +219,35 @@ steps:
173219 commands :
174220 - scripts/ci-run-webgl-tests.sh
175221
222+ - label : Run WebGL e2e tests for Unity 2020
223+ timeout_in_minutes : 30
224+ depends_on : ' cocoa-webgl-2020-fixtures'
225+ agents :
226+ queue : opensource-mac-cocoa-11
227+ env :
228+ UNITY_VERSION : " 2020.3.48f1"
229+ plugins :
230+ artifacts#v1.5.0:
231+ download :
232+ - features/fixtures/maze_runner/build/WebGL-2020.3.48f1.zip
233+ upload :
234+ - maze_output/**/*
235+ - maze_output/metrics.csv
236+
237+ # TODO: WebGL persistence tests are currently skipped pending PLAT-8151
238+ commands :
239+ - scripts/ci-run-webgl-tests.sh
240+
176241 # DISABLED Pending PLAT-9177
177242 # - label: Run WebGL e2e tests for Unity 2021
178243 # timeout_in_minutes: 30
179244 # depends_on: 'cocoa-webgl-2021-fixtures'
180245 # env:
181- # UNITY_VERSION: "2021.3.13f1 "
246+ # UNITY_VERSION: "2021.3.27f1 "
182247 # plugins:
183248 # artifacts#v1.5.0:
184249 # download:
185- # - features/fixtures/maze_runner/build/WebGL-2021.3.13f1 .zip
250+ # - features/fixtures/maze_runner/build/WebGL-2021.3.27f1 .zip
186251 # upload:
187252 # - maze_output/**/*
188253 # # TODO: WebGL persistence tests are currently skipped pending PLAT-8151
@@ -237,13 +302,13 @@ steps:
237302 key : ' build-android-fixture-2021'
238303 depends_on : ' build-artifacts'
239304 env :
240- UNITY_VERSION : " 2021.3.13f1 "
305+ UNITY_VERSION : " 2021.3.27f1 "
241306 plugins :
242307 artifacts#v1.5.0:
243308 download :
244309 - Bugsnag.unitypackage
245310 upload :
246- - features/fixtures/maze_runner/mazerunner_2021.3.13f1 .apk
311+ - features/fixtures/maze_runner/mazerunner_2021.3.27f1 .apk
247312 - features/fixtures/build_android_apk.log
248313 commands :
249314 - rake test:android:build
@@ -257,13 +322,13 @@ steps:
257322 # key: 'build-edm-fixture-2021'
258323 # depends_on: 'build-artifacts'
259324 # env:
260- # UNITY_VERSION: "2021.3.13f1 "
325+ # UNITY_VERSION: "2021.3.27f1 "
261326 # plugins:
262327 # artifacts#v1.5.0:
263328 # download:
264329 # - Bugsnag.unitypackage
265330 # upload:
266- # - features/fixtures/EDM_Fixture/edm_2021.3.13f1 .apk
331+ # - features/fixtures/EDM_Fixture/edm_2021.3.27f1 .apk
267332 # - features/scripts/buildEdmFixture.log
268333 # - features/scripts/edmImport.log
269334 # - features/scripts/enableEdm.log
@@ -345,11 +410,11 @@ steps:
345410 agents :
346411 queue : opensource
347412 env :
348- UNITY_VERSION : " 2021.3.13f1 "
413+ UNITY_VERSION : " 2021.3.27f1 "
349414 plugins :
350415 artifacts#v1.5.0:
351416 download :
352- - " features/fixtures/maze_runner/mazerunner_2021.3.13f1 .apk"
417+ - " features/fixtures/maze_runner/mazerunner_2021.3.27f1 .apk"
353418 upload :
354419 - " maze_output/**/*"
355420 - " maze_output/metrics.csv"
@@ -360,7 +425,7 @@ steps:
360425 command :
361426 - " features/csharp"
362427 - " features/android"
363- - " --app=features/fixtures/maze_runner/mazerunner_2021.3.13f1 .apk"
428+ - " --app=features/fixtures/maze_runner/mazerunner_2021.3.27f1 .apk"
364429 - " --farm=bb"
365430 - " --device=ANDROID_9|ANDROID_10|ANDROID_11|ANDROID_12|ANDROID_13"
366431 - " --no-tunnel"
@@ -376,18 +441,18 @@ steps:
376441 # agents:
377442 # queue: opensource
378443 # env:
379- # UNITY_VERSION: "2021.3.13f1 "
444+ # UNITY_VERSION: "2021.3.27f1 "
380445 # plugins:
381446 # artifacts#v1.5.0:
382447 # download:
383- # - "features/fixtures/EDM_Fixture/edm_2021.3.13f1 .apk"
448+ # - "features/fixtures/EDM_Fixture/edm_2021.3.27f1 .apk"
384449 # upload:
385450 # - "maze_output/**/*"
386451 # docker-compose#v3.7.0:
387452 # pull: maze-runner
388453 # run: maze-runner
389454 # command:
390- # - "--app=/app/features/fixtures/EDM_Fixture/edm_2021.3.13f1 .apk"
455+ # - "--app=/app/features/fixtures/EDM_Fixture/edm_2021.3.27f1 .apk"
391456 # - "--farm=bs"
392457 # - "--device=ANDROID_11_0"
393458 # - "features/edm"
@@ -495,7 +560,7 @@ steps:
495560 key : ' generate-fixture-project-2021'
496561 depends_on : ' build-artifacts'
497562 env :
498- UNITY_VERSION : " 2021.3.13f1 "
563+ UNITY_VERSION : " 2021.3.27f1 "
499564 plugins :
500565 artifacts#v1.5.0:
501566 download :
@@ -519,14 +584,14 @@ steps:
519584 queue : macos-12-arm-unity
520585 env :
521586 DEVELOPER_DIR : " /Applications/Xcode13.4.app"
522- UNITY_VERSION : " 2021.3.13f1 "
587+ UNITY_VERSION : " 2021.3.27f1 "
523588 plugins :
524589 artifacts#v1.5.0:
525590 download :
526591 - Bugsnag.unitypackage
527592 - project_2021.tgz
528593 upload :
529- - features/fixtures/maze_runner/mazerunner_2021.3.13f1 .ipa
594+ - features/fixtures/maze_runner/mazerunner_2021.3.27f1 .ipa
530595 - features/fixtures/unity.log
531596 commands :
532597 - tar -zxf project_2021.tgz features/fixtures/maze_runner
@@ -607,7 +672,7 @@ steps:
607672 plugins :
608673 artifacts#v1.5.0:
609674 download :
610- - " features/fixtures/maze_runner/mazerunner_2021.3.13f1 .ipa"
675+ - " features/fixtures/maze_runner/mazerunner_2021.3.27f1 .ipa"
611676 upload :
612677 - " maze_output/**/*"
613678 - " maze_output/metrics.csv"
@@ -618,7 +683,7 @@ steps:
618683 command :
619684 - " features/csharp"
620685 - " features/ios"
621- - " --app=features/fixtures/maze_runner/mazerunner_2021.3.13f1 .ipa"
686+ - " --app=features/fixtures/maze_runner/mazerunner_2021.3.27f1 .ipa"
622687 - " --farm=bb"
623688 - " --device=IOS_12|IOS_13|IOS_14|IOS_15"
624689 - " --no-tunnel"
@@ -675,14 +740,36 @@ steps:
675740 - exit_status : " *"
676741 limit : 1
677742
743+ - label : Build Unity 2020 Windows test fixture
744+ timeout_in_minutes : 30
745+ key : ' windows-2020-fixture'
746+ depends_on : ' build-artifacts'
747+ agents :
748+ queue : windows-unity-wsl
749+ env :
750+ UNITY_VERSION : " 2020.3.48f1"
751+ plugins :
752+ artifacts#v1.5.0:
753+ download :
754+ - Bugsnag.unitypackage
755+ upload :
756+ - unity.log
757+ - features/fixtures/maze_runner/build/Windows-2020.3.48f1.zip
758+ commands :
759+ - scripts/ci-build-windows-fixture-wsl.sh
760+ retry :
761+ automatic :
762+ - exit_status : " *"
763+ limit : 1
764+
678765 - label : Build Unity 2021 Windows test fixture
679766 timeout_in_minutes : 30
680767 key : ' windows-2021-fixture'
681768 depends_on : ' build-artifacts'
682769 agents :
683770 queue : windows-unity-wsl
684771 env :
685- UNITY_VERSION : " 2021.3.13f1 "
772+ UNITY_VERSION : " 2021.3.27f1 "
686773 commands :
687774 - scripts/ci-build-windows-fixture-wsl.sh
688775 plugins :
@@ -691,7 +778,7 @@ steps:
691778 - Bugsnag.unitypackage
692779 upload :
693780 - unity.log
694- - features/fixtures/maze_runner/build/Windows-2021.3.13f1 .zip
781+ - features/fixtures/maze_runner/build/Windows-2021.3.27f1 .zip
695782 retry :
696783 automatic :
697784 - exit_status : " *"
@@ -734,17 +821,35 @@ steps:
734821 commands :
735822 - scripts/ci-run-windows-tests-wsl.sh
736823
824+ - label : Run Windows e2e tests for Unity 2020
825+ timeout_in_minutes : 30
826+ depends_on : ' windows-2020-fixture'
827+ agents :
828+ queue : windows-general-wsl
829+ env :
830+ UNITY_VERSION : " 2020.3.48f1"
831+ plugins :
832+ artifacts#v1.5.0:
833+ download :
834+ - features/fixtures/maze_runner/build/Windows-2020.3.48f1.zip
835+ upload :
836+ - maze_output/**/*
837+ - maze_output/metrics.csv
838+
839+ command :
840+ - scripts/ci-run-windows-tests-wsl.sh
841+
737842 - label : Run Windows e2e tests for Unity 2021
738843 timeout_in_minutes : 30
739844 depends_on : ' windows-2021-fixture'
740845 agents :
741846 queue : windows-general-wsl
742847 env :
743- UNITY_VERSION : " 2021.3.13f1 "
848+ UNITY_VERSION : " 2021.3.27f1 "
744849 plugins :
745850 artifacts#v1.5.0:
746851 download :
747- - features/fixtures/maze_runner/build/Windows-2021.3.13f1 .zip
852+ - features/fixtures/maze_runner/build/Windows-2021.3.27f1 .zip
748853 upload :
749854 - maze_output/**/*
750855 - maze_output/metrics.csv
0 commit comments