You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This file is the central configuration file defining test environments, platforms, projects, editors and other parameters used.
3
+
# Data from this file is used to generate CI pipeline configurations through templating in other .yamato/ files.
4
+
# This provides consistent environment definitions across all CI jobs. It's easier to modify values in central place (for example image reference) than having to modify every job
5
+
6
+
# VALUE MEANING----------------------------------------------------------------------------------------------------------------------------
7
+
# Usual fields being defined are
8
+
# name --> Identifier used to distinguish different configurations in the CI pipeline
9
+
# type --> Specifies the Bokken agent type (e.g., Unity::VM, Unity::VM::osx, Unity::mobile::shield)
10
+
# 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
11
+
# flavor --> Determines the VM size/resources (e.g., b1.small, b1.large, m1.mac)
# model --> Defines specific hardware model requirements (e.g., rtx2080, SE for iPhone SE)
14
+
# base --> Indicates the base operating system for build operations (e.g., win, mac)
15
+
# architecture --> Specifies the target CPU architecture (e.g., armv7, arm64)
16
+
17
+
18
+
# SMALL AGENT CONFIGURATION---------------------------------------------------------------------------------------------------
19
+
# The small agent was created to handle jobs that don't involve running Unity and are in general super light when it comes to resource usage (for example pack job).
2
20
# It uses ubuntu since Linux VMs are faster and cheaper to provision than Mac or Windows Virtual Machines (VMs).
3
21
# The b1.small flavour is nearly always sufficient for jobs that don’t involve running Unity Editor.
# test_platforms specifies platforms that project will/can be tested on.
31
+
# For desktops we include Windows, Ubuntu and Mac, for mobiles we include Android and iOS, for consoles we include ps4, ps5, switch, xbox360 and xboxOne
32
+
# For mobile and console a split was required for build and test jobs and this is also applied for desktops for consistency (though for desktop this split is not required)
33
+
34
+
11
35
test_platforms:
12
36
# Default platform is used for all basic jobs. Ubuntu was chosen since it's fastest and most available
13
37
default:
@@ -35,6 +59,7 @@ test_platforms:
35
59
flavor: m1.mac
36
60
standalone: StandaloneOSX
37
61
# For mobile devices there is a split between the build and run phase so there is a need of splitting specification for both
62
+
# TODO: For android we could consider adding ARM64 configuration
38
63
mobile_build:
39
64
- name: android
40
65
type: Unity::VM
@@ -43,7 +68,7 @@ test_platforms:
43
68
standalone: Android
44
69
base: win
45
70
architecture: armv7
46
-
# iOS modern builds are ARM64-only, thus no testing with armv7 (as in android case)
71
+
# iOS modern builds are ARM64-only, thus no testing with armv7
47
72
- name: ios-arm64
48
73
type: Unity::VM::osx
49
74
image: package-ci/macos-13:v4
@@ -121,9 +146,10 @@ test_platforms:
121
146
flavor: b1.large
122
147
standalone: GameCoreScarlett
123
148
124
-
125
-
# Editors to be used for testing.
126
-
# Since NGOv2 official support started from U6 it means that only those editors should be used for testing
# Projects within the repository that will be tested/build.
173
+
# The default project should be used for general validation, code coverage and other tests where choice of project should not matter (because we are interested in NGO package)
174
+
# has_tests --> describes if projects contains any tests to run.
0 commit comments