forked from Unity-Technologies/com.unity.netcode.gameobjects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebgl-build.yml
39 lines (38 loc) · 1.53 KB
/
webgl-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% metadata_file .yamato/project.metafile %}
---
{% for project in projects -%}
{% if project.name == "testproject" -%}
{% for editor in project.test_editors -%}
build_{{ project.name }}_tests_{{ editor }}_webgl:
name: Build {{ project.name }} Tests - {{ editor }} - WebGL
agent:
type: Unity::VM
image: dots-ci/windows10:v1.493-auto
flavor: b1.xlarge
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
- unity-downloader-cli -u {{ editor }} -c editor -c webgl -c il2cpp -w --fast
- |
set UTR_VERSION=0.12.0
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"
artifacts:
logs:
paths:
- '*.log'
- '*.xml'
- artifacts/**/*
- testproject/Logs/**
- testproject/Library/*.log
- testproject/*.log
- testproject/Builds/*.log
- build/test-results/**
- artifacts/**
- build/players/**
variables:
CI: true
ENABLE_BURST_COMPILATION: False
{% endfor -%}
{% endif -%}
{% endfor -%}