File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ build_{{ project.name }}_{{ editor }}_{{ platform.name }}:
1515 image : {{ platform.image }}
1616 flavor : {{ platform.flavor }}
1717 commands :
18- # Installing tools. unity-downloader-cli and utr is already preinstalled on the image
18+ # Installing tools. unity-downloader-cli and utr should be already preinstalled on the image
1919 - sudo pip install unity-downloader-cli
2020 - unity-downloader-cli -u {{ editor }} -c Editor -c il2cpp -c {{ platform.name }} --fast --wait
2121 - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
@@ -66,8 +66,11 @@ run_{{ project.name }}_tests_{{ editor }}_{{ platform.name }}:
6666 model : {{ platform.model }}
6767{% endif %}
6868 commands :
69+ # Installing tools.
70+ - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
71+
6972 # Platform specific Execution
70- - utr --artifacts_path=build/logs --testproject={{ project.path }} --editor-location=.Editor --platform={{ platform.standalone }} --player-load-path=build/players --testCategory=!Performance --scripting-backend=il2cpp
73+ - utr --artifacts_path=build/logs --testproject={{ project.path }} --editor-location=.Editor --platform={{ platform.standalone }} --player-load-path=build/players --testCategory=!Performance --scripting-backend=il2cpp
7174
7275 variables :
7376{% if platform.name == "ps4" %}
Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ test_platforms:
101101 image: package-ci/win10-switch:v4
102102 flavor: b1.large
103103 standalone: Switch
104- - name: gamecorexboxone
104+ - name: GameCoreXboxOne
105105 type: Unity::VM
106106 image: package-ci/win10-xbox:v4
107107 flavor: b1.large
108108 standalone: GameCoreXboxOne
109- - name: xboxseriesx
109+ - name: GameCoreScarlett
110110 type: Unity::VM
111111 image: package-ci/win10-xbox:v4
112112 flavor: b1.large
@@ -130,12 +130,12 @@ test_platforms:
130130 flavor: b1.large
131131 standalone: Switch
132132 base: win
133- - name: gamecorexboxone
133+ - name: GameCoreXboxOne
134134 type: Unity::console::xbox
135135 image: package-ci/win10-xbox:v4
136136 flavor: b1.large
137137 standalone: GameCoreXboxOne
138- - name: xboxseriesx
138+ - name: GameCoreScarlett
139139 type: Unity::console::scarlett
140140 image: package-ci/win10-xbox:v4
141141 flavor: b1.large
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ webgl_build_{{ project.name }}_{{ platform }}_{{ editor }}:
2525
2626 # Platform specific UTR setup
2727 - |
28- {% if platform.base == "win" %}
28+ {% if platform.name == "win" %}
2929 curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
3030{% else %}
3131 curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
@@ -39,7 +39,7 @@ webgl_build_{{ project.name }}_{{ platform }}_{{ editor }}:
3939
4040 # Build Player
4141 - |
42- {% if platform.base == "win" %}
42+ {% if platform.name == "win" %}
4343 utr.bat --suite=playmode --platform=WebGL --artifacts_path=build/test-results -reruncount=1 --clean-library-on-rerun --testproject={{ project.path }} --editor-location=.Editor --build-only --player-save-path=build/players --extra-editor-arg=-batchmode --scripting-backend=il2cpp --extra-editor-arg="-cloudEnvironment staging" --extra-editor-arg=-nographics
4444{% else %}
4545 ./utr --suite=playmode --platform=WebGL -reruncount=1 --clean-library-on-rerun --artifacts_path=build/test-results --testproject={{ project.path }} --editor-location=.Editor --build-only --player-save-path=build/players --extra-editor-arg=-batchmode --scripting-backend=il2cpp --extra-editor-arg="-cloudEnvironment staging" --extra-editor-arg=-nographics
You can’t perform that action at this time.
0 commit comments