1
- editors :
1
+ test_trigger_editors :
2
+ - version : 2018.4
3
+ - version : 2019.3
4
+ publish_trigger_editors :
2
5
- version : 2018.3
3
6
- version : 2018.4
4
7
- version : 2019.1
5
8
- version : 2019.2
6
9
- version : 2019.3
10
+ - version : 2020.1
7
11
platforms :
8
12
- name : win
9
13
type : Unity::VM
30
34
- " upm-ci~/**/*"
31
35
32
36
33
- {% for editor in editors %}
37
+ {% for editor in publish_trigger_editors %}
34
38
{% for platform in platforms %}
35
39
test_{{ platform.name }}_{{ editor.version }} :
36
40
name : Test version {{ editor.version }} on {{ platform.name }}
@@ -63,12 +67,27 @@ test_trigger:
63
67
- master
64
68
dependencies :
65
69
- .yamato/upm-ci.yml#pack
66
- {% for editor in editors %}
70
+ {% for editor in test_trigger_editors %}
67
71
{% for platform in platforms %}
68
72
- .yamato/upm-ci.yml#test_{{platform.name}}_{{editor.version}}
69
73
{% endfor %}
70
74
{% endfor %}
71
75
76
+ publish_test_trigger :
77
+ name : Publish Tests Trigger
78
+ triggers :
79
+ tags :
80
+ only :
81
+ - /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?
82
+ dependencies :
83
+ - .yamato/upm-ci.yml#pack
84
+ {% for editor in publish_trigger_editors %}
85
+ {% for platform in platforms %}
86
+ - .yamato/upm-ci.yml#test_{{platform.name}}_{{editor.version}}
87
+ {% endfor %}
88
+ {% endfor %}
89
+
90
+
72
91
publish :
73
92
name : Publish to Internal Registry
74
93
agent :
@@ -88,8 +107,5 @@ publish:
88
107
- " upm-ci~/packages/*.tgz"
89
108
dependencies :
90
109
- .yamato/upm-ci.yml#pack
91
- {% for editor in editors %}
92
- {% for platform in platforms %}
93
- - .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
94
- {% endfor %}
95
- {% endfor %}
110
+ - .yamato/upm-ci.yml#test_trigger
111
+ - .yamato/upm-ci.yml#publish_test_trigger
0 commit comments