@@ -114,9 +114,8 @@ run_ios_{{ editor.version }}:
114
114
build_tvos_{{ editor.version }} :
115
115
name : Build Tests on {{ editor.version }} on tvos
116
116
agent :
117
- type : Unity::VM::osx # Use Unity::mobile::appletv to get tvOS device
118
- # TODO this should be replaced with package-ci/macos-12:default when PETS-1172 is complete
119
- image : package-ci/macos-12-mobile:stable
117
+ type : Unity::VM::osx
118
+ image : package-ci/macos-12:default
120
119
flavor : b1.large
121
120
commands :
122
121
- {{ utr_install_nix }}
@@ -131,6 +130,23 @@ build_tvos_{{ editor.version }}:
131
130
paths :
132
131
- " build/logs/**"
133
132
133
+ run_tvos_{{ editor.version }} :
134
+ name : Run Tests on {{ editor.version }} on tvos
135
+ agent :
136
+ type : Unity::mobile::appletv
137
+ image : package-ci/macos-12:default
138
+ flavor : b1.medium
139
+ skip_checkout : true
140
+ dependencies :
141
+ - .yamato/upm-ci.yml#build_tvos_{{ editor.version }}
142
+ commands :
143
+ - {{ utr_install_nix }}
144
+ - ./utr --suite=playmode --platform=tvOS --player-load-path=build/players --artifacts_path=build/test-results --report-performance-data --performance-project-id=InputSystem
145
+ artifacts :
146
+ logs :
147
+ paths :
148
+ - " build/test-results/**"
149
+
134
150
{% for backend in scripting_backends %}
135
151
build_android_{{ editor.version }}_{{ backend.name }} :
136
152
name : Build Tests on {{ editor.version }} on android {{ backend.name }}
@@ -196,10 +212,14 @@ all_tests:
196
212
- .yamato/upm-ci.yml#{{ platform.name }}_{{ editor.version }}
197
213
{% endfor %}
198
214
{% for backend in scripting_backends %}
199
- - .yamato/upm-ci.yml#run_android_{{ editor.version }}_{{ backend.name }}
215
+ - .yamato/upm-ci.yml#run_android_{{ editor.version }}_{{ backend.name }}
200
216
{% endfor %}
201
217
- .yamato/upm-ci.yml#run_ios_{{ editor.version }}
218
+ {% if editor.disable_tvos_run %}
202
219
- .yamato/upm-ci.yml#build_tvos_{{ editor.version }}
220
+ {% else %}
221
+ - .yamato/upm-ci.yml#run_tvos_{{ editor.version }}
222
+ {% endif %}
203
223
{% endfor %}
204
224
- .yamato/upm-ci.yml#publish_dryrun
205
225
triggers :
0 commit comments