3
3
4
4
---
5
5
{% for project in template_projects %}
6
- pack_{{ project.name }} :
7
- name : Pack {{ project.packagename }}
6
+
7
+ {% for editor in editors %}
8
+ prepack_{{ project.name }}_{{ editor.version }} :
9
+ name : Pre-Pack {{ project.packagename }} {{ editor.version }} - Primed Artifacts
10
+ agent :
11
+ type : Unity::VM
12
+ image : package-ci/win10:stable
13
+ flavor : b1.large
14
+ commands :
15
+ - pip install unity-downloader-cli --index-url {{ intra_pypi_url }} --upgrade
16
+ - unity-downloader-cli -u {{ editor.version }} -c editor -w --fast
17
+ # ToDO: windows vm can not use symbolic link
18
+ # - FOR /F "usebackq" %%i IN (`dir /B /S /AL {{ project.packagename }}`) DO (call "BuildScripts~\convert_symlinks.cmd" %%i)
19
+ - .Editor\Unity.exe -projectPath {{ project.packagename }} -batchmode -quit
20
+ artifacts :
21
+ primed :
22
+ paths :
23
+ - " {{ project.packagename }}/Library/Artifacts/**"
24
+ - " {{ project.packagename }}/Library/ArtifactDB"
25
+ - " {{ project.packagename }}/Library/SourceAssetDB"
26
+
27
+ pack_{{ project.name }}_{{ editor.version }} :
28
+ name : Pack {{ project.packagename }} {{ editor.version }}
8
29
agent :
9
30
type : Unity::VM
10
- image : package-ci/ubuntu:stable
31
+ image : package-ci/ubuntu:stable
11
32
flavor : b1.large
12
33
commands :
13
34
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
14
- - find ./{{ project.packagename }} -type l -exec bash -c 'sh BuildScripts~/convert_symlinks.sh "$0"' {} \;
35
+ - find ./{{ project.packagename }} -type l -exec bash -c 'sh BuildScripts~/convert_symlinks.sh "$0"' {} \;
15
36
- upm-ci template pack --project-path {{ project.packagename }}
37
+ dependencies :
38
+ - .yamato/upm-ci-template.yml#prepack_{{ project.name }}_{{ editor.version }}
16
39
artifacts :
17
40
packages :
18
41
paths :
19
42
- " upm-ci~/**/*"
20
43
21
- {% for editor in editors %}
22
-
23
44
{% for platform in platforms %}
24
45
{% if platform.name == "win" -%}
25
46
{% for param in platform.test_params %}
@@ -29,15 +50,18 @@ test_{{ project.name }}_{{ param.platform }}_{{ param.backend }}_{{ platform.nam
29
50
type : {{ platform.type }}
30
51
image : {{ platform.image }}
31
52
flavor : {{ platform.flavor}}
53
+ {% if project.name == "renderstreaming-rtx" %}
54
+ model : rtx2080
55
+ {% endif %}
32
56
commands :
33
57
- npm install upm-ci-utils@{{ upm.package_version }} -g --registry {{ upm.registry_url }}
34
- - upm-ci template test -u {{ editor.version }} --project-path {{ project.packagename }} --platform {{ param.platform }} --backend {{ param.backend }} --extra-utr-arg="--timeout=3000"
58
+ - upm-ci template test -u {{ editor.version }} --project-path {{ project.packagename }} --platform {{ param.platform }} --backend {{ param.backend }} --extra-utr-arg="--timeout=3000 --testfilter=!ValidationSuiteRun "
35
59
artifacts :
36
60
logs :
37
61
paths :
38
62
- " upm-ci~/test-results/**/*"
39
63
dependencies :
40
- - .yamato/upm-ci-template.yml#pack_{{ project.name }}
64
+ - .yamato/upm-ci-template.yml#pack_{{ project.name }}_{{ editor.version }}
41
65
- .yamato/upm-ci-webapp.yml#pack_{{ platform.name }}
42
66
{% endfor %}
43
67
{% else -%}
@@ -57,7 +81,7 @@ test_{{ project.name }}_{{ param.platform }}_{{ param.backend }}_{{ platform.nam
57
81
paths :
58
82
- " upm-ci~/test-results/**/*"
59
83
dependencies :
60
- - .yamato/upm-ci-template.yml#pack_{{ project.name }}
84
+ - .yamato/upm-ci-template.yml#pack_{{ project.name }}_{{ editor.version }}
61
85
- .yamato/upm-ci-webapp.yml#pack_{{ platform.name }}
62
86
{% endif -%}
63
87
{% endfor %}
@@ -105,8 +129,8 @@ publish_{{ project.name }}:
105
129
- " upm-ci~/packages/*.tgz"
106
130
- " upm-ci~/templates/*.tgz"
107
131
dependencies :
108
- - .yamato/upm-ci-template.yml#pack_{{ project.name }}
109
132
{% for editor in editors %}
133
+ - .yamato/upm-ci-template.yml#pack_{{ project.name }}_{{ editor.version }}
110
134
- .yamato/upm-ci-template.yml#trigger_template_test_{{ project.name }}_{{ editor.version }}
111
135
{% endfor %}
112
136
@@ -132,8 +156,8 @@ publish_dryrun_{{ project.name }}:
132
156
- " upm-ci~/packages/*.tgz"
133
157
- " upm-ci~/templates/*.tgz"
134
158
dependencies :
135
- - .yamato/upm-ci-template.yml#pack_{{ project.name }}
136
159
{% for editor in editors %}
160
+ - .yamato/upm-ci-template.yml#pack_{{ project.name }}_{{ editor.version }}
137
161
- .yamato/upm-ci-template.yml#trigger_template_test_{{ project.name }}_{{ editor.version }}
138
162
{% endfor %}
139
163
{% endfor %}
0 commit comments