@@ -6,7 +6,7 @@ platforms:
6
6
- name : win
7
7
type : Unity::VM
8
8
image : package-ci/win10:stable
9
- flavor : m1.large
9
+ flavor : b1.medium
10
10
- name : mac
11
11
type : Unity::VM::osx
12
12
image : buildfarm/mac:stable
@@ -17,18 +17,16 @@ pack:
17
17
agent :
18
18
type : Unity::VM
19
19
image : package-ci/ubuntu:latest
20
- flavor : m1.large
20
+ flavor : b1.small
21
21
commands :
22
22
- ./build.sh
23
- - npm install -g upm-ci-utils@latest --registry https://api.bintray.com/npm/unity/unity-npm
23
+ - npm install -g upm-ci-utils@stable --registry https://api.bintray.com/npm/unity/unity-npm
24
24
- upm-ci package pack --package-path com.unity.formats.fbx
25
25
artifacts :
26
26
packages :
27
27
paths :
28
- - " upm-ci~/packages/**/*"
29
- build :
30
- paths :
31
- - " com.unity.formats.fbx/*"
28
+ - " upm-ci~/**/*"
29
+
32
30
33
31
{% for editor in editors %}
34
32
{% for platform in platforms %}
@@ -39,18 +37,15 @@ test_{{ platform.name }}_{{ editor.version }}:
39
37
image : {{ platform.image }}
40
38
flavor : {{ platform.flavor}}
41
39
commands :
42
- -
git clone --branch dev --single-branch [email protected] :upm-packages/project-templates/upm-template-utils.git upm-ci-utils
43
- - npm install upm-ci-utils/ -g
40
+ - npm install -g upm-ci-utils@stable --registry https://api.bintray.com/npm/unity/unity-npm
44
41
- upm-ci package test --unity-version {{ editor.version }} --package-path com.unity.formats.fbx
45
42
artifacts :
46
- logs.zip :
43
+ logs :
47
44
paths :
48
- - " upm-ci~/logs/**/*"
49
45
- " upm-ci~/test-results/**/*"
50
- artifacts.zip :
46
+ packages :
51
47
paths :
52
48
- " upm-ci~/packages/**/*"
53
- - " upm-ci~/templates/**/*"
54
49
dependencies :
55
50
- .yamato/upm-ci.yml#pack
56
51
{% endfor %}
@@ -61,7 +56,7 @@ test_trigger:
61
56
agent :
62
57
type : Unity::VM
63
58
image : package-ci/win10:stable
64
- flavor : m1.large
59
+ flavor : b1.small
65
60
commands :
66
61
- dir
67
62
triggers :
@@ -79,37 +74,33 @@ test_trigger:
79
74
- " upm-ci~/packages/**/*"
80
75
dependencies :
81
76
- .yamato/upm-ci.yml#pack
82
- {% for editor in editors %}
83
- {% for platform in platforms %}
77
+ {% for editor in editors %}
78
+ {% for platform in platforms %}
84
79
- .yamato/upm-ci.yml#test_{{platform.name}}_{{editor.version}}
85
- {% endfor %}
86
- {% endfor %}
80
+ {% endfor %}
81
+ {% endfor %}
87
82
88
83
publish :
89
- name : Publish
84
+ name : Publish to Internal Registry
90
85
agent :
91
86
type : Unity::VM
92
- image : package-ci/win10:latest
93
- flavor : m1.large
94
- name : Runner
87
+ image : package-ci/win10:stable
88
+ flavor : b1.small
95
89
commands :
96
- - npm install upm-ci-utils -g --registry https://api.bintray.com/npm/unity/unity-npm
90
+ - npm install upm-ci-utils@stable -g --registry https://api.bintray.com/npm/unity/unity-npm
97
91
- upm-ci package publish
98
92
triggers :
99
93
tags :
100
94
only :
101
- - /^(v|V)[0-9]+.[0-9]+.[0-9]+ /
95
+ - /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$ /
102
96
artifacts :
103
- logs.zip :
104
- paths :
105
- - " upm-ci~/logs/**/*"
106
- - " upm-ci~/test-results/**/*"
107
- Package.zip :
97
+ artifacts :
108
98
paths :
109
- - " upm-ci~/package /*.tgz"
99
+ - " upm-ci~/packages /*.tgz"
110
100
dependencies :
111
- {% for editor in editors %}
112
- {% for platform in platforms %}
101
+ - .yamato/upm-ci.yml#pack
102
+ {% for editor in test_editors %}
103
+ {% for platform in test_platforms %}
113
104
- .yamato/upm-ci.yml#test_{{ platform.name }}_{{ editor.version }}
114
- {% endfor %}
115
- {% endfor %}
105
+ {% endfor %}
106
+ {% endfor %}
0 commit comments