Skip to content

Commit 5be554a

Browse files
committed
Added consoles configuration
1 parent 145cbc4 commit 5be554a

File tree

2 files changed

+65
-23
lines changed

2 files changed

+65
-23
lines changed

.yamato/performance-tests.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,30 @@ performance_editor_tests_-_NGO_{{ platform.name }}_{{ editor }}_no_data_reportin
3333
# Build Player
3434
{% if platform.name == "win" %}
3535
- utr --artifacts-path=artifacts --timeout=3600 --testproject={{ project.path }} --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --suite=editor --dontreportperformancedata --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces
36-
{% else %}
36+
{% else %}
3737
- ./utr --artifacts-path=artifacts --timeout=3600 --testproject={{ project.path }} --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --suite=editor --dontreportperformancedata --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces
38-
{% endif %}
38+
{% endif %}
3939
artifacts:
40-
logs:
41-
paths:
42-
- "upm-ci~/test-results/**/*"
43-
dependencies:
44-
- .yamato/package-pack.yml#package_pack_-_ngo
40+
CrashDumps:
41+
paths:
42+
- CrashDumps/**
43+
logs:
44+
paths:
45+
- '*.log'
46+
- '*.xml'
47+
- artifacts/**/*
48+
- {{ project.path }}/Logs/**
49+
- {{ project.path }}/Library/*.log
50+
- {{ project.path }}/*.log
51+
- {{ project.path }}/Builds/*.log
52+
- build/test-results/**
53+
browsable: onNonSuccess
54+
players:
55+
paths:
56+
- build/players/**
57+
browsable: onDemand
58+
variables:
59+
CI: true
4560
{% endfor -%}
4661
{% endfor -%}
4762
{% endfor -%}

.yamato/project.metafile

Lines changed: 43 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,39 +85,66 @@ test_platforms:
8585
base: mac
8686
architecture: arm64
8787
# We should test on at least one more "exotic" platform. Nintendo Switch was chosen as it represents broadly console platforms
88-
console_no_split:
89-
- name: nintendoSwitch
90-
type: Unity::console::switch
91-
image: package-ci/win10-switch:v4
88+
console_build:
89+
- name: ps4
90+
type: Unity::VM
91+
image: package-ci/win10:v4
92+
flavor: b1.large
93+
standalone: PS4
94+
base: win
95+
- name: ps5
96+
type: Unity::VM
97+
image: package-ci/win10:v4
98+
flavor: b1.large
99+
standalone: PS5
100+
base: win
101+
- name: switch
102+
type: Unity::VM
103+
image: package-ci/win10:v4
92104
flavor: b1.large
93105
standalone: Switch
106+
base: win
107+
- name: xboxone
108+
type: Unity::VM
109+
image: package-ci/win10:v4
110+
flavor: b1.large
111+
standalone: GameCoreXboxOne
112+
base: win
113+
- name: xboxseries
114+
type: Unity::VM
115+
image: package-ci/win10:v4
116+
flavor: b1.large
117+
standalone: XboxSeries
118+
base: win
119+
console_test:
94120
- name: ps4
95121
type: Unity::console::ps4
96122
image: package-ci/win10-ps4
97123
flavor: b1.large
124+
model: devkit
98125
standalone: PS4
99-
console_build:
100-
- name: xboxOne
101-
type: Unity::console::xbox
102-
image: package-ci/win10-xbox
103-
flavor: b1.large
104-
standalone: GameCoreXboxOne
105126
- name: ps5
106-
type: Unity::console::ps5
127+
type: Unity::console::ps5
107128
image: package-ci/win10-ps5
108129
flavor: b1.large
130+
model: devkit
109131
standalone: PS5
110-
console_test:
132+
- name: switch
133+
type: Unity::console::switch
134+
image: package-ci/win10-switch:v4
135+
flavor: b1.large
136+
standalone: Switch
137+
base: win
111138
- name: xboxOne
112139
type: Unity::console::xbox
113140
image: package-ci/win10-xbox
114141
flavor: b1.large
115142
standalone: GameCoreXboxOne
116-
- name: ps5
117-
type: Unity::console::ps5
118-
image: package-ci/win10-ps5
143+
- name: xboxseries
144+
type: Unity::console::scarlett
145+
image: package-ci/win10-xbox
119146
flavor: b1.large
120-
standalone: PS5
147+
standalone: XboxSeries
121148

122149
# Editors to be used for testing.
123150
# Since NGOv2 official support started from U6 it means that only those editors should be used for testing

0 commit comments

Comments
 (0)