Skip to content

Commit 7cfb5d1

Browse files
authored
Merge pull request #26 from Unity-Technologies/test/ant/3118-add-device-model-for-macos-pipelines
Add device model for macOS pipelines
2 parents 5838d6e + 493bb7f commit 7cfb5d1

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

.yamato/live-capture-hdrptests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ test_editors:
33
- version: 6000.0
44
- version: 2022.3
55
- version: 2022.2
6-
6+
77
#We need to use a more recent project with later HDRP, because materials upgrade is broken.
88
---
99

@@ -34,7 +34,7 @@ test_win_{{ editor.version }}_HDRPTests:
3434
dependencies:
3535
- .yamato/live-capture-hdrptests.yml#pack_HDRPTestsLatest
3636
{% endfor %}
37-
37+
3838
pack_HDRPTestsLatest:
3939
name: Pack HDRPTests Latest
4040
agent:
@@ -74,6 +74,7 @@ test_macmetal_{{ editor.version }}_HDRPTests:
7474
type: Unity::metal::macmini
7575
image: package-ci/macos-12:v4
7676
flavor: b1.large
77+
model: 2018-i3-macos11
7778
commands:
7879
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
7980

@@ -85,4 +86,4 @@ test_macmetal_{{ editor.version }}_HDRPTests:
8586
- "upm-ci~/test-results/**/*"
8687
dependencies:
8788
- .yamato/live-capture-hdrptests.yml#pack_HDRPTestsLatest
88-
{% endfor %}
89+
{% endfor %}

.yamato/live-capture.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ multiplatform_test_projects:
99
- name : PkgTests
1010
- info:
1111
- path : TestProjects/URPTests
12-
- name : URPTests
12+
- name : URPTests
1313
# Because of a material upgrade issues in 2022+, we have a separate logic for HDRP
1414
# - info:
1515
# - path : TestProjects/HDRPTests
@@ -28,7 +28,7 @@ multiplatform_test_projects_no_HDRP:
2828
- name : PkgTests
2929
- info:
3030
- path : TestProjects/URPTests
31-
- name : URPTests
31+
- name : URPTests
3232

3333
live_capture_packages:
3434
- path : Packages/com.unity.live-capture
@@ -50,14 +50,14 @@ test_package_pr:
5050
pull_request.push.changes.any match "TestProjects/HDRPTestsLatest/**" OR (push.changes.any match "TestProjects/HDRPTestsLatest/**" AND push.branch eq "main")
5151
dependencies:
5252
{% for project in multiplatform_test_projects %}
53-
- .yamato/live-capture.yml#test_win_{{ test_editors.first.version }}_{{ project.info[1].name }}
53+
- .yamato/live-capture.yml#test_win_{{ test_editors.first.version }}_{{ project.info[1].name }}
5454
{% endfor %}
5555
# Run HDRPTests in 2021-migrated project
5656
- .yamato/live-capture-hdrptests.yml#test_win_{{ test_editors.first.version }}_HDRPTests
5757
- .yamato/live-capture.yml#api_doc_validation
5858
# Builds the apps
5959
- .yamato/live-capture.yml#test_virtualmac_2022.2_VirtualCameraClient
60-
60+
6161
test_client_pr:
6262
name: Run tests after client changes
6363
triggers:
@@ -103,7 +103,7 @@ test_win_{{ editor.version }}_{{ project.info[1].name }}:
103103
image: package-ci/win10:v4
104104
flavor: b1.large
105105
commands:
106-
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
106+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
107107
- upm-ci project pack --project-path {{ project.info[0].path }}
108108
# We run all isolation tests and package tests only for one project, not to be redundant.
109109
- upm-ci project test -u {{ editor.version }} --project-path {{ project.info[0].path }} {% if project.info[0].path != "TestProjects/PkgTests" -%} --type=project-tests {% endif %} --extra-create-project-arg="-upmNoDefaultPackages"
@@ -143,10 +143,10 @@ weekly_tests:
143143
# LC-1603 - HDRP tests are too heavy to run on MacOS and cause timeouts
144144
{% for project in multiplatform_test_projects_no_HDRP %}
145145
- .yamato/live-capture.yml#test_macmetal_{{ editor.version }}_{{ project.info[1].name }}
146-
{% endfor %}
146+
{% endfor %}
147147
{% endfor %}
148148
- .yamato/live-capture.yml#test_virtualmac_2022.2_VirtualCameraClient
149-
- .yamato/live-capture-hdrptests.yml#test_hdrp_allplatforms
149+
- .yamato/live-capture-hdrptests.yml#test_hdrp_allplatforms
150150

151151
{% for project in multiplatform_test_projects %}
152152
pack_{{ project.info[1].name }}:
@@ -163,7 +163,7 @@ pack_{{ project.info[1].name }}:
163163
paths:
164164
- "upm-ci~/packages/**/*"
165165
{% endfor %}
166-
166+
167167
{% for editor in test_editors %}
168168
{% for project in multiplatform_test_projects %}
169169
{% for distro in linux_distros -%}
@@ -211,6 +211,7 @@ test_macmetal_{{ editor.version }}_{{ project.info[1].name }}:
211211
type: Unity::metal::macmini
212212
image: package-ci/macos-12:v4
213213
flavor: b1.large
214+
model: 2018-i3-macos11
214215
commands:
215216
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
216217
- upm-ci project test -u {{ editor.version }} --project-path {{ project.info[0].path }} --type=project-tests --extra-create-project-arg="-upmNoDefaultPackages"

0 commit comments

Comments
 (0)