Skip to content

Commit 25e0767

Browse files
committed
Corrected webgl syntax
1 parent 64c47fc commit 25e0767

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.yamato/project.metafile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ test_platforms:
9797

9898
# Editors to be used for testing.
9999
# Since NGOv2 official support started from U6 it means that only those editors should be used for testing
100-
#Aren't we stopping support of 6000.0 when 6000.1 is released?
101100
validation_editors:
102101
default:
103102
- trunk

.yamato/webgl-build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ webgl_build_{{ project.name }}_{{ editor }}:
2222
# Platform specific UTR setup
2323
- |
2424
{% if platform.name == "win" %}
25-
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
25+
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
2626
{% else %}
27-
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
27+
curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr && chmod +x utr
2828
{% endif %}
2929

3030
# Disabling Burst
@@ -35,12 +35,16 @@ webgl_build_{{ project.name }}_{{ editor }}:
3535

3636
# Build Player
3737
- |
38-
{% if platform.name != "win" %}./{% endif %}utr \
39-
--suite=playmode
40-
--platform=WebGL
38+
{% if platform.name == "win" %}
39+
utr.bat \
40+
{% else %}
41+
./utr \
42+
{% endif %}
43+
--suite=playmode \
44+
--platform=WebGL \
4145
--artifacts_path=build/test-results \
4246
--timeout=1800 \
43-
--testproject={{ project.name }} \
47+
--testproject={{ project.path }} \
4448
--editor-location=.Editor \
4549
--build-only \
4650
--player-save-path=build/players\

0 commit comments

Comments
 (0)