Skip to content

Commit 23485e1

Browse files
committed
Webgl rewrite
1 parent 881608d commit 23485e1

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.yamato/webgl-build.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
{% metadata_file .yamato/project.metafile %}
22
---
33

4-
{% for project in projects -%}
5-
{% if project.name == "testproject" -%}
6-
{% for editor in project.test_editors -%}
7-
{% for platform in test_platforms -%}
8-
{% if platform.name == "win" -%}
9-
build_{{ project.name }}_tests_{{ editor }}_webgl:
10-
name: Build {{ project.name }} Tests - {{ editor }} - WebGL
4+
{% for project in projects.default -%}
5+
{% for editor in validation_editors.all -%}
6+
{% for platform in test_platforms.default -%}
7+
webgl_build_{{ project.name }}_tests_{{ editor }}:
8+
name: WebGl Build and Tests - [{{ project.name }}, {{ editor }}]
119
agent:
12-
type: platform.type
13-
image: platform.image
14-
flavor: platform.flavor
10+
type: {{ platform.type }}
11+
image: {{ platform.image }}
12+
flavor: {{ platform.flavor }}
1513
commands:
1614
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
1715
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
18-
- python .yamato/disable-burst-if-requested.py --project-path testproject --platform WebGL
16+
- python .yamato/disable-burst-if-requested.py --project-path {{ project.path }} --platform WebGL
1917
- unity-downloader-cli -u {{ editor }} -c editor -c webgl -c il2cpp -w --fast
2018
- |
2119
set UTR_VERSION=1.35.1
@@ -36,8 +34,6 @@ build_{{ project.name }}_tests_{{ editor }}_webgl:
3634
variables:
3735
CI: true
3836
ENABLE_BURST_COMPILATION: False
39-
{% endif -%}
4037
{% endfor -%}
4138
{% endfor -%}
42-
{% endif -%}
4339
{% endfor -%}

0 commit comments

Comments
 (0)