File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,14 @@ run_all_tests:
8
8
- .yamato/mobile-build-and-test.yml#run_{{ projects.first.name }}_tests_{{ mobile_validation_editor }}_iOS
9
9
- .yamato/mobile-build-and-test.yml#run_{{ projects.first.name }}_tests_{{ mobile_validation_editor }}_android
10
10
# - .yamato/_run-all.yml#all_project_tests_standalone
11
+ {% for project in projects -%}
12
+ {% if project.name == "testproject" -%}
13
+ {% for editor in project.test_editors -%}
14
+ - .yamato/webgl-build.yml#build_{{ project.name }}_tests_{{ editor }}_webgl
15
+ {% endfor -%}
16
+ {% endif -%}
17
+ {% endfor -%}
18
+
11
19
{% for platform in test_platforms -%}
12
20
{% for project in projects -%}
13
21
{% for editor in project.test_editors -%}
@@ -140,3 +148,14 @@ all_project_tests_mobile:
140
148
{% endfor -%}
141
149
{% endif -%}
142
150
{% endfor -%}
151
+
152
+ all_project_tests_webgl :
153
+ name : Build All Project Tests - WebGL
154
+ dependencies :
155
+ {% for project in projects -%}
156
+ {% if project.name == "testproject" -%}
157
+ {% for editor in project.test_editors -%}
158
+ - .yamato/webgl-build.yml#build_{{ project.name }}_tests_{{ editor }}_webgl
159
+ {% endfor -%}
160
+ {% endif -%}
161
+ {% endfor -%}
Original file line number Diff line number Diff line change
1
+ {% metadata_file .yamato/project.metafile %}
2
+ ---
3
+
4
+ {% for project in projects -%}
5
+ {% if project.name == "testproject" -%}
6
+ {% for editor in project.test_editors -%}
7
+ build_{{ project.name }}_tests_{{ editor }}_webgl :
8
+ name : Build {{ project.name }} Tests - {{ editor }} - WebGL
9
+ agent :
10
+ type : Unity::VM
11
+ image : dots-ci/windows10:v1.493-auto
12
+ flavor : b1.xlarge
13
+ commands :
14
+ - pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
15
+ - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr.bat --output utr.bat
16
+ - python .yamato/disable-burst-if-requested.py --project-path testproject --platform WebGL
17
+ - unity-downloader-cli -u {{ editor }} -c editor -c webgl -c il2cpp -w --fast
18
+ - |
19
+ set UTR_VERSION=0.12.0
20
+ utr.bat --artifacts_path=artifacts --timeout=1800 --testproject={{ project.name }} --editor-location=.Editor --suite=playmode --platform=WebGL --build-only --player-save-path=build/players --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --scripting-backend=il2cpp --extra-editor-arg="-cloudEnvironment staging"
21
+ artifacts :
22
+ logs :
23
+ paths :
24
+ - ' *.log'
25
+ - ' *.xml'
26
+ - artifacts/**/*
27
+ - testproject/Logs/**
28
+ - testproject/Library/*.log
29
+ - testproject/*.log
30
+ - testproject/Builds/*.log
31
+ - build/test-results/**
32
+ - artifacts/**
33
+ - build/players/**
34
+ variables :
35
+ CI : true
36
+ ENABLE_BURST_COMPILATION : False
37
+ {% endfor -%}
38
+ {% endif -%}
39
+ {% endfor -%}
You can’t perform that action at this time.
0 commit comments