Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .yamato/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Currently, the CI implementation supports the following platforms:
- Ubuntu
- macOS
4. Unity Editor Versions
- Supports NGOv1.X (2021.3+ editors)
- Supports NGOv1.X (2022.3+ editors)
5. Architectures
- x64
- ARM64 (This is present for consoles/mobiles but will be extended. More information is present in specific standalone test files)
Expand Down
2 changes: 1 addition & 1 deletion .yamato/_triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
pr_minimal_required_checks:
name: Minimal PR checks
dependencies:
- .yamato/package-pack.yml#package_pack_-_ngo_win
- .yamato/package-pack.yml#package_pack_-_ngo_ubuntu
- .yamato/project-standards.yml#standards_ubuntu_testproject_6000.2
triggers:
expression: |-
Expand Down
2 changes: 1 addition & 1 deletion .yamato/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ code_coverage_{{ platform.name }}_{{ editor }}:
paths:
- "test-results/**/*"
dependencies:
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}
- .yamato/package-pack.yml#package_pack_-_ngo_ubuntu
{% endfor -%}
{% endfor -%}
2 changes: 1 addition & 1 deletion .yamato/console-standalone-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# CONFIGURATION STRUCTURE--------------------------------------------------------------
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
# 1. For all console platform (Switch, ps4, ps5, xbox360, xboxOne)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2021.3+ editors)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2022.3+ editors)
# 3. For the default project.

# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion .yamato/desktop-standalone-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# CONFIGURATION STRUCTURE--------------------------------------------------------------
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
# 1. For all desktop platform (Windows, macOS, Ubuntu)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2021.3+ editors)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2022.3+ editors)
# 3. For the default project.
# 4. For all scripting backends (mono, il2cpp)

Expand Down
2 changes: 1 addition & 1 deletion .yamato/mobile-standalone-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# CONFIGURATION STRUCTURE--------------------------------------------------------------
# Jobs are generated using nested loops through:
# 1. For all mobile platform (Android, iOS)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2021.3+ editors)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2022.3+ editors)
# 3. For the default project.

# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
Expand Down
23 changes: 11 additions & 12 deletions .yamato/package-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,27 @@

#------------------------------------------------------------------------------------

{% for platform in test_platforms.desktop -%}
package_pack_-_ngo_{{ platform.name }}:
name: Package Pack (and x-ray) - NGO [{{ platform.name }}]
agent:
type: {{ platform.type }}
image: {{ platform.image }}
flavor: {{ platform.flavor }}
{% if platform.model %}
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
{% endif %}
# Note that a package pack job on ubuntu will return the same tarball as windows or macOS based job
# It may be confusing that a mac package test job depends on ubuntu pack, but it simplifies the configuration so this comment should help clarifying
# This also reduces overhead since there is no point of running essentially 2 same jobs
package_pack_-_ngo_ubuntu:
name: Package Pack (and x-ray) - NGO [ubuntu]
agent: { type: Unity::VM, flavor: b1.small, image: package-ci/ubuntu-22.04:v4 }
timeout: 0.25
variables:
XRAY_PROFILE: "supported ./pvpExceptions.json"
commands:
# Remove ValidationExceptions.json and its .meta file if they exist. For this specific test it's necessary (otherwise we want to keep them since we use those for release).
- rm -f com.unity.netcode.gameobjects/ValidationExceptions.json
- rm -f com.unity.netcode.gameobjects/ValidationExceptions.json.meta

- upm-pvp pack "com.unity.netcode.gameobjects" --output upm-ci~/packages
- upm-pvp xray --packages "upm-ci~/packages/com.unity.netcode.gameobjects*.tgz" --results pvp-results
- upm-pvp require {% if platform.name == "win" %}"%XRAY_PROFILE%"{% else %}"$XRAY_PROFILE"{% endif %} --results pvp-results --allow-missing
- upm-pvp require "$XRAY_PROFILE" --results pvp-results --allow-missing
artifacts:
logs:
paths:
- "pvp-results/*"
packages:
paths:
- "upm-ci~/**"
{% endfor -%}
4 changes: 2 additions & 2 deletions .yamato/package-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# CONFIGURATION STRUCTURE--------------------------------------------------------------
# Jobs are generated using nested loops through:
# 1. For all desktop platforms (Windows, Ubuntu, macOS)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2021.3+ editors)
# 2. For all supported Unity Editor versions (for NGOv1.X this means 2022.3+ editors)

# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
# This job runs in Editor context only (no player builds required)
Expand Down Expand Up @@ -55,6 +55,6 @@ package_test_-_ngo_{{ editor }}_{{ platform.name }}:
- "pvp-results/*"
dependencies:
- .yamato/_run-all.yml#run_quick_checks # initial checks to perform fast validation of common errors
- .yamato/package-pack.yml#package_pack_-_ngo_{{ platform.name }}
- .yamato/package-pack.yml#package_pack_-_ngo_ubuntu
{% endfor -%}
{% endfor -%}
2 changes: 1 addition & 1 deletion .yamato/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# CONFIGURATION STRUCTURE--------------------------------------------------------------
# Jobs configurations are generated using nested loops through:
# 1. For all desktop platforms (Windows, Ubuntu, macOS)
# 2. For all supported Unity Editor versions (For NGOv1.X it means 2021.3+)
# 2. For all supported Unity Editor versions (For NGOv1.X it means 2022.3+)
# 3. For the default project (project is used only as a context for the build). TODO-comment: if performance tests would be included in projects then we should make an appropriate split.

# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion .yamato/project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Jobs configurations are generated using nested loops through:
# 1. For all projects WITH TESTS (filtered by has_tests flag) (testproject, testproject-tools-interation) [For more info look into project.metafile configuration]
# 2. For all desktop platforms (Windows, Ubuntu, macOS)
# 3. For all supported Unity Editor versions (for NGOv1.X this means 2021.3+ editors)
# 3. For all supported Unity Editor versions (for NGOv1.X this means 2022.3+ editors)

# TECHNICAL CONSIDERATIONS---------------------------------------------------------------
# This job runs in Editor context only (no player builds is required)
Expand Down
2 changes: 1 addition & 1 deletion .yamato/project-updated-dependencies-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Jobs configurations are generated using nested loops through:
# 1. For all projects (testproject, minimalproject, testproject-tools-integration).
# 2. For all desktop platforms (Win, Ubuntu, Mac)
# 3. For all supported editors (For NGOv1.X it means 2021.3+)
# 3. For all supported editors (For NGOv1.X it means 2022.3+)

# TECHNICAL CONSIDERATIONS----------------------------------------------------------------
# This job requires successful project packaging before execution (job dependency)
Expand Down
3 changes: 1 addition & 2 deletions .yamato/project.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,11 @@ validation_editors:
default:
- 6000.2
all:
- 2021.3
- 2022.3
- 6000.0
- 6000.2
minimal:
- 2021.3
- 2022.3

# Scripting backends used by Standalone RunTimeTests---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion .yamato/webgl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Jobs configurations are generated using nested loops through:
# 1. For the default project (project is used only as a context for the build).
# 2. For all desktop platforms (Windows, Ubuntu, macOS)
# 3. For all supported Unity Editor versions (For NGOv1.X it means 2021.3+)
# 3. For all supported Unity Editor versions (For NGOv1.X it means 2022.3+)

# TECHNICAL CONSIDERATIONS----------------------------------------------------------------
# WebGL requires IL2CPP scripting backend (Mono is not supported)
Expand Down
16 changes: 8 additions & 8 deletions .yamato/wrench/api-validation-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
all_api_validation_jobs:
name: All API Validation Jobs
dependencies:
- path: .yamato/wrench/api-validation-jobs.yml#api_validation_-_netcode_gameobjects_-_2021_3_-_windows
- path: .yamato/wrench/api-validation-jobs.yml#api_validation_-_netcode_gameobjects_-_2022_3_-_windows

# upm-ci validation tests for API Validation - netcode.gameobjects - 2021.3 - windows (2021.3 - Windows).
api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
name: API Validation - netcode.gameobjects - 2021.3 - windows
# upm-ci validation tests for API Validation - netcode.gameobjects - 2022.3 - windows (2022.3 - Windows).
api_validation_-_netcode_gameobjects_-_2022_3_-_windows:
name: API Validation - netcode.gameobjects - 2022.3 - windows
agent:
image: package-ci/win10:default
type: Unity::VM
flavor: b1.large
commands:
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-68_53c92d3b34ce3f4b652c9785dd1530bdc5885f6523465d6969c3be91f9ccaaf1.zip -o wrench-localapv.zip
- command: curl https://artifactory.prd.it.unity3d.com/artifactory/stevedore-unity-internal/wrench-localapv/1-2-72_a4dd85cf1f7f298f0ad40b6cddfe56a92ed54d408f336c1688069ca743ea46fb.zip -o wrench-localapv.zip
- command: 7z x -aoa wrench-localapv.zip
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
- command: python PythonScripts/print_machine_info.py
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
timeout: 20
retries: 10
- command: unity-downloader-cli -u 2021.3/staging -c editor --path .Editor --fast
- command: unity-downloader-cli -u 2022.3/staging -c editor --path .Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/PackageJsonCondersor.py
Expand Down Expand Up @@ -51,8 +51,8 @@ api_validation_-_netcode_gameobjects_-_2021_3_-_windows:
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_netcode_gameobjects
variables:
UPMPVP_CONTEXT_WRENCH: 1.1.2.0
UPMPVP_CONTEXT_WRENCH: 1.1.3.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 1.1.2.0
Wrench: 1.1.3.0

2 changes: 1 addition & 1 deletion .yamato/wrench/package-pack-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ package_pack_-_netcode_gameobjects:
UPMCI_ACK_LARGE_PACKAGE: 1
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 1.1.2.0
Wrench: 1.1.3.0

Loading