Skip to content

Commit

Permalink
Webgl rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
michalChrobot committed Dec 20, 2024
1 parent 881608d commit 23485e1
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .yamato/webgl-build.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{% metadata_file .yamato/project.metafile %}
---

{% for project in projects -%}
{% if project.name == "testproject" -%}
{% for editor in project.test_editors -%}
{% for platform in test_platforms -%}
{% if platform.name == "win" -%}
build_{{ project.name }}_tests_{{ editor }}_webgl:
name: Build {{ project.name }} Tests - {{ editor }} - WebGL
{% for project in projects.default -%}
{% for editor in validation_editors.all -%}
{% for platform in test_platforms.default -%}
webgl_build_{{ project.name }}_tests_{{ editor }}:
name: WebGl Build and Tests - [{{ project.name }}, {{ editor }}]
agent:
type: platform.type
image: platform.image
flavor: platform.flavor
type: {{ platform.type }}
image: {{ platform.image }}
flavor: {{ platform.flavor }}
commands:
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
- python .yamato/disable-burst-if-requested.py --project-path testproject --platform WebGL
- python .yamato/disable-burst-if-requested.py --project-path {{ project.path }} --platform WebGL
- unity-downloader-cli -u {{ editor }} -c editor -c webgl -c il2cpp -w --fast
- |
set UTR_VERSION=1.35.1
Expand All @@ -36,8 +34,6 @@ build_{{ project.name }}_tests_{{ editor }}_webgl:
variables:
CI: true
ENABLE_BURST_COMPILATION: False
{% endif -%}
{% endfor -%}
{% endfor -%}
{% endif -%}
{% endfor -%}

0 comments on commit 23485e1

Please sign in to comment.