Skip to content

Commit a295363

Browse files
committed
Put the build jobs on a larger VM
1 parent 19e5a55 commit a295363

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

.yamato/console-standalone-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ console_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
4545
agent:
4646
type: {{ platform.type }}
4747
image: {{ platform.image }}
48-
flavor: {{ platform.flavor }}
48+
flavor: {{ platform.larger_flavor }}
4949
{% if platform.model %}
5050
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
5151
{% endif %}

.yamato/desktop-standalone-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ desktop_standalone_build_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
3838
agent:
3939
type: {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }} {% endif %}
4040
image: {{ platform.image }}
41-
flavor: {{ platform.flavor }}
41+
flavor: {{ platform.larger_flavor }}
4242
{% if platform.name == "mac" %}
4343
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
4444
{% endif %}

.yamato/mobile-standalone-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mobile_standalone_build_{{ project.name }}_{{ platform.name }}_{{ editor }}:
4444
agent:
4545
type: {{ platform.type }}
4646
image: {{ platform.image }}
47-
flavor: {{ platform.flavor }}
47+
flavor: {{ platform.larger_flavor }}
4848
{% if platform.model %}
4949
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
5050
{% endif %}

.yamato/project.metafile

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# image --> Defines the package-ci Bokken image to use for the environment (e.g., package-ci/ubuntu-22.04:v4). This is basically a device configuration
1111
# flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac)
1212
# smaller_flavor --> An override for flavor that determines the VM size/resources for lighter weight jobs that can run on a smaller vm
13+
# larger_flavor --> An override for flavor that determines the VM size/resources for heavier weight jobs that can need a bigger vm
1314
# standalone --> Specifies the build target platform (e.g., StandaloneLinux64, Android, IOS)
1415
# model --> Defines specific hardware model requirements (e.g., rtx2080, iPhone model 13). Notice that trunk currently (19.08.2025) has 13.0 as minimal iOS version which devices below this are not supporting
1516
# base --> Indicates the base operating system for build operations (e.g., win, mac)
@@ -47,20 +48,24 @@ test_platforms:
4748
image: package-ci/ubuntu-22.04:v4.77.0
4849
flavor: b1.large
4950
smaller_flavor: b1.medium
51+
larger_flavor: b1.xlarge
5052
standalone: StandaloneLinux64
5153
model: rtx2080
5254
- name: win
5355
type: Unity::VM
5456
image: package-ci/win10:v4
5557
flavor: b1.large
5658
smaller_flavor: b1.medium
59+
larger_flavor: b1.xlarge
5760
standalone: StandaloneWindows64
5861
model: rtx2080
5962
- name: mac
6063
type: Unity::VM::osx
6164
image: package-ci/macos-13-arm64:v4 # ARM64 to support M1 model (below)
6265
flavor: m1.mac
63-
smaller_flavor: m1.mac # mac doesn't have a smaller vm size. We define it anyway as it simplifies the yaml templating to have it defined.
66+
# mac doesn't have a different vm sizes. We define it anyway as it simplifies the yaml templating to have it defined.
67+
smaller_flavor: m1.mac
68+
larger_flavor: m1.mac
6469
standalone: StandaloneOSX
6570
model: M1 # The default model (an x64 Intel Mac VM) quite often caused a known issue of doing all the bitflips in packages resulting in failures
6671
# For mobile devices there is a split between the build and run phase so there is a need of splitting specification for both
@@ -70,6 +75,7 @@ test_platforms:
7075
type: Unity::VM
7176
image: package-ci/win10:v4
7277
flavor: b1.large
78+
larger_flavor: b1.xlarge
7379
standalone: Android
7480
base: win
7581
architecture: armv7
@@ -86,13 +92,15 @@ test_platforms:
8692
type: Unity::mobile::shield
8793
image: package-ci/win10:v4
8894
flavor: b1.large
95+
larger_flavor: b1.xlarge
8996
standalone: Android
9097
base: win
9198
architecture: armv7
9299
- name: ios-arm64
93100
type: Unity::mobile::iPhone
94101
image: package-ci/macos-13-arm64:v4
95102
flavor: m1.mac
103+
larger_flavor: m1.mac
96104
model: 13
97105
standalone: IOS
98106
base: mac
@@ -102,53 +110,63 @@ test_platforms:
102110
type: Unity::VM
103111
image: package-ci/win10-ps4:v4
104112
flavor: b1.large
113+
larger_flavor: b1.xlarge
105114
standalone: PS4
106115
# - name: ps5 --> SEE MTT-12118
107116
# type: Unity::VM
108117
# image: package-ci/win10-ps5:v4
109118
# flavor: b1.large
119+
# larger_flavor: b1.xlarge
110120
# standalone: PS5
111121
- name: switch
112122
type: Unity::VM
113123
image: package-ci/win10-switch:v4
114124
flavor: b1.large
125+
larger_flavor: b1.xlarge
115126
standalone: Switch
116127
- name: GameCoreXboxOne
117128
type: Unity::VM
118129
image: package-ci/win10-xbox:v4
119130
flavor: b1.large
131+
larger_flavor: b1.xlarge
120132
standalone: GameCoreXboxOne
121133
- name: GameCoreScarlett
122134
type: Unity::VM
123135
image: package-ci/win10-xbox:v4
124136
flavor: b1.large
137+
larger_flavor: b1.xlarge
125138
standalone: GameCoreScarlett
126139
console_test:
127140
- name: ps4
128141
type: Unity::console::ps4
129142
image: package-ci/win10-ps4:v4
130143
flavor: b1.large
144+
larger_flavor: b1.xlarge
131145
standalone: PS4
132146
#- name: ps5 --> SEE MTT-12118
133147
# type: Unity::console::ps5
134148
# image: package-ci/win10-ps5:v4
135149
# flavor: b1.large
150+
# larger_flavor: b1.xlarge
136151
# standalone: PS5
137152
- name: switch
138153
type: Unity::console::switch
139154
image: package-ci/win10-switch:v4
140155
flavor: b1.large
156+
larger_flavor: b1.xlarge
141157
standalone: Switch
142158
base: win
143159
- name: GameCoreXboxOne
144160
type: Unity::console::xbox
145161
image: package-ci/win10-xbox:v4
146162
flavor: b1.large
163+
larger_flavor: b1.xlarge
147164
standalone: GameCoreXboxOne
148165
- name: GameCoreScarlett
149166
type: Unity::console::scarlett
150167
image: package-ci/win10-xbox:v4
151168
flavor: b1.large
169+
larger_flavor: b1.xlarge
152170
standalone: GameCoreScarlett
153171

154172
# EDITOR CONFIGURATIONS-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)