Skip to content

Commit 78ce99b

Browse files
authored
Merge branch 'develop-3.x.x' into docs/link-fixes-upport
2 parents 762d83a + 49e149e commit 78ce99b

127 files changed

Lines changed: 4750 additions & 3689 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/pull_request_template.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ _Does the change require QA team to:_
5656

5757
If any boxes above are checked the QA team will be automatically added as a PR reviewer.
5858

59+
## Up-port
60+
[//]: # (
61+
This section is REQUIRED and should link to the PR that targets develop-3.0.0 branch. Assuming that the PR lands agains default develop-2.0.0 branch
62+
If this is not needed, for example feature specific to NGOv2.X, then just mention this fact.
63+
)
64+
5965
## Backports
6066
[//]: # (
6167
This section is REQUIRED and should link to the PR that targets other NGO version which is either develop or develop-2.0.0 branch

.github/renovate.json5

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"baseBranches": ["develop", "develop-2.0.0", "develop-3.x.x"],
2+
"baseBranches": ["develop-2.0.0", "develop-3.x.x"],
33
"dependencyDashboard": true,
44

55
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
@@ -27,10 +27,12 @@
2727
"unity-upm-package"
2828
],
2929
"enabled": "true",
30-
"schedule": [
31-
"every weekend"
32-
],
30+
"schedule": ["every weekend"],
3331
"rollbackPrs": false,
32+
},
33+
{
34+
"groupName": "CI deps updates",
35+
"matchPackagePatterns": ["^RecipeEngine", "actions/checkout", "package-ci/ubuntu-22.04"]
3436
}
3537
],
3638
}

.github/workflows/pr-description-validation.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v6
25+
uses: actions/checkout@v7
2626

2727
- name: Check PR description
2828
uses: actions/github-script@v9
@@ -52,6 +52,10 @@ jobs:
5252
header: '## Backports',
5353
description: 'PR description must include a "## Backports" section. Please add this section and provide information about this PR backport to develop, develop-2.0.0 or develop-3.x.x branch respectively or explain why backport is not needed.'
5454
},
55+
{
56+
header: '## Up-port',
57+
description: 'PR description must include a "## Up-port" section. Please add this section and provide information about this PR up-port to develop-3.0.0 branch or explain why up-port is not needed.'
58+
},
5559
{
5660
header: '## Testing & QA',
5761
description: 'PR description must include a "## Testing & QA" section. Please add this section and provide information about the testing performed for this PR. It can range from adding unit tests to full samples and is needed from QA side to analyze PRs while Playtesting for the release.'

.github/workflows/pr-supervisor.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
timeout-minutes: 720
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v6
30-
29+
uses: actions/checkout@v7
3130
- name: Wait and Verify Yamato Job Status
3231
env:
3332
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.yamato/_run-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ run_quick_checks:
1616
name: Run Quick Initial Checks
1717
dependencies:
1818
# Ensure the code is running to our current standards
19-
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
19+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.standards }}
2020
# This is needed for most of the jobs to execute tests + it runs xray PVP checks (all fast checks)
2121
- .yamato/package-pack.yml#package_pack_-_ngo_win
2222

@@ -115,7 +115,7 @@ run_all_projects_standards:
115115
dependencies:
116116
{% for platform in test_platforms.default -%}
117117
{% for project in projects.all -%}
118-
{% for editor in validation_editors.default -%}
118+
{% for editor in validation_editors.standards -%}
119119
- .yamato/project-standards.yml#standards_{{ platform.name }}_{{ project.name }}_{{ editor }}
120120
{% endfor -%}
121121
{% endfor -%}

.yamato/_triggers.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
pr_minimal_required_checks:
5252
name: Minimal PR checks
5353
dependencies:
54-
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
54+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.standards }}
5555
- .yamato/package-pack.yml#package_pack_-_ngo_win
5656
triggers:
5757
expression: |-
@@ -90,6 +90,8 @@ pr_code_changes_checks:
9090
# Note that our daily tests will anyway run both test configurations in "minimal supported" and "trunk" configurations
9191
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_{{ pinnedTrunk }}
9292
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_testproject_ubuntu_il2cpp_{{ pinnedTrunk }}
93+
# Run code coverage test
94+
- .yamato/code-coverage.yml#code_coverage_ubuntu_{{ validation_editors.default }}
9395
triggers:
9496
expression: |-
9597
(pull_request.comment eq "ngo" OR
@@ -130,7 +132,7 @@ develop_nightly:
130132
rerun: always
131133
dependencies:
132134
# Run project standards to verify package/default project
133-
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
135+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.standards }}
134136
# Run APV jobs to make sure the change won't break any dependants
135137
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
136138
# Run package EditMode and Playmode tests on desktop platforms on trunk and 6000.0
@@ -159,6 +161,8 @@ develop_nightly:
159161
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_6000.0
160162
# Run API validation to early-detect all new APIs that would force us to release new minor version of the package. Note that for this to work the package version in package.json must correspond to "actual package state" which means that it should be higher than last released version
161163
- .yamato/vetting-test.yml#vetting_test
164+
# Run code coverage test
165+
- .yamato/code-coverage.yml#code_coverage_ubuntu_{{ validation_editors.default }}
162166

163167

164168
# Run all tests on weekly bases
@@ -189,5 +193,3 @@ develop_weekly_trunk:
189193
- .yamato/_run-all.yml#run_all_webgl_builds
190194
# Run Runtime tests against CMB service
191195
- .yamato/_run-all.yml#run_all_project_tests_cmb_service
192-
# Run code coverage test
193-
- .yamato/code-coverage.yml#code_coverage_ubuntu_{{ validation_editors.default }}

.yamato/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ code_coverage_{{ platform.name }}_{{ editor }}:
3939
commands:
4040
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models
4141
- upm-pvp create-test-project test-project --packages "upm-ci~/packages/*.tgz" --unity .Editor
42-
- UnifiedTestRunner --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --enable-code-coverage coverage-upload-options="reportsDir:$PWD/test-results/CoverageResults;name:NGOv2_{{ platform.name }}_{{ editor }};flags:NGOv2_{{ platform.name }}_{{ editor }};verbose" --coverage-results-path=$PWD/test-results/CoverageResults --coverage-options="generateHtmlReport;generateAdditionalMetrics;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime" --extra-editor-arg=--burst-disable-compilation --timeout={{ test_timeout }} --rerun-strategy=Test --retry={{ num_test_retries }} --clean-library-on-rerun --artifacts-path=test-results
42+
- UnifiedTestRunner --suite=editor --suite=playmode --editor-location=.Editor --testproject=test-project --enable-code-coverage --coverage-upload-options="reportsDir:$PWD/test-results/CoverageResults;name:NGOv2_{{ platform.name }}_{{ editor }};flags:NGOv2_{{ platform.name }}_{{ editor }};verbose" --coverage-results-path=$PWD/test-results/CoverageResults --coverage-options="generateHtmlReport;generateAdditionalMetrics;assemblyFilters:+Unity.Netcode.Editor,+Unity.Netcode.Runtime" --extra-editor-arg=--burst-disable-compilation --timeout={{ test_timeout }} --rerun-strategy=Test --retry={{ num_test_retries }} --clean-library-on-rerun --artifacts-path=test-results
4343
artifacts:
4444
logs:
4545
paths:

.yamato/project-standards.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
{% for project in projects.all -%}
3232
{% for platform in test_platforms.default -%}
33-
{% for editor in validation_editors.default -%}
33+
{% for editor in validation_editors.standards -%}
3434
standards_{{ platform.name }}_{{ project.name }}_{{ editor }}:
3535
name: Standards Check - NGO {{ project.name }} [{{ platform.name }}, {{ editor }}]
3636
agent:
@@ -48,8 +48,7 @@ standards_{{ platform.name }}_{{ project.name }}_{{ editor }}:
4848
- unity-downloader-cli --fast --wait -u {{ editor }} -c editor {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models. Downloads basic editor
4949
- .Editor/Unity -batchmode -nographics -logFile - -executeMethod Packages.Rider.Editor.RiderScriptEditor.SyncSolution -projectPath {{ project.path }} -quit # This command is used to invoke Unity in a "headless" mode. It's used to sync the project
5050
- dotnet run --project=dotnet-tools/netcode.standards -- --project={{ project.path }} --fix # Auto-fix formatting issues
51-
- git checkout -- {{ project.path }}/Packages/manifest.json {{ project.path }}/Packages/packages-lock.json {{ project.path }}/ProjectSettings/ProjectVersion.txt 2>/dev/null || true # Restore files that Unity may have modified (we only want to check code formatting)
52-
- 'git diff --exit-code || (echo "ERROR: Code formatting issues found. Run dotnet run --project=dotnet-tools/netcode.standards -- --project={{ project.path }} --fix locally and commit the changes." && exit 1)' # Fail if formatter made any changes
51+
- 'git diff --exit-code || (echo "ERROR: Code formatting issues found. Run dotnet run --project=dotnet-tools/netcode.standards -- --project={{ project.path }} --fix locally and commit the changes. Note that dotnet version that was used in this check depends on the image that was used so local results may differ (see the first command of this job to know which dotnet version was used)" && exit 1)' # Fail if formatter made any changes
5352
{% endfor -%}
5453
{% endfor -%}
5554
{% endfor -%}

.yamato/project.metafile

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
small_agent_platform:
2525
- name: ubuntu
2626
type: Unity::VM
27-
image: package-ci/ubuntu-22.04:v4.85.0
27+
image: package-ci/ubuntu-22.04:v4.87.0
2828
flavor: b1.small
2929

3030

@@ -39,13 +39,13 @@ test_platforms:
3939
default:
4040
- name: ubuntu
4141
type: Unity::VM
42-
image: package-ci/ubuntu-22.04:v4.85.0
42+
image: package-ci/ubuntu-22.04:v4.87.0
4343
flavor: b1.large
4444
standalone: StandaloneLinux64
4545
desktop:
4646
- name: ubuntu
4747
type: Unity::VM
48-
image: package-ci/ubuntu-22.04:v4.85.0
48+
image: package-ci/ubuntu-22.04:v4.87.0
4949
flavor: b1.large
5050
smaller_flavor: b1.large
5151
larger_flavor: b1.xlarge
@@ -117,12 +117,17 @@ test_platforms:
117117
# flavor: b1.large
118118
# larger_flavor: b1.xlarge
119119
# standalone: PS5
120-
- name: switch
121-
type: Unity::VM
122-
image: package-ci/win10-switch:v4
123-
flavor: b1.large
124-
larger_flavor: b1.xlarge
125-
standalone: Switch
120+
# - name: switch --> TEMPORARILY DISABLED. SEE MTT-12118
121+
# The NintendoSDK on the win10-switch:v4 Bokken image is incomplete for the SDK
122+
# version the newer editor Playback Engines require: 18_3_0 is missing the
123+
# nintendo-switch-support lib the new toolchain links against, and 21_4_3 is missing the
124+
# Tools\Graphics\NvnTools (GraphicsConverter) libraries needed to package textures.
125+
# Neither is fixable from .yamato; re-enable once Package CI ships a complete SDK on the image.
126+
# type: Unity::VM
127+
# image: package-ci/win10-switch:v4
128+
# flavor: b1.large
129+
# larger_flavor: b1.xlarge
130+
# standalone: Switch
126131
- name: GameCoreXboxOne
127132
type: Unity::VM
128133
image: package-ci/win10-xbox:v4
@@ -148,13 +153,13 @@ test_platforms:
148153
# flavor: b1.large
149154
# larger_flavor: b1.xlarge
150155
# standalone: PS5
151-
- name: switch
152-
type: Unity::console::switch
153-
image: package-ci/win10-switch:v4
154-
flavor: b1.large
155-
larger_flavor: b1.xlarge
156-
standalone: Switch
157-
base: win
156+
# - name: switch --> TEMPORARILY DISABLED. SEE MTT-12118 (incomplete NintendoSDK on win10-switch:v4 image)
157+
# type: Unity::console::switch
158+
# image: package-ci/win10-switch:v4
159+
# flavor: b1.large
160+
# larger_flavor: b1.xlarge
161+
# standalone: Switch
162+
# base: win
158163
- name: GameCoreXboxOne
159164
type: Unity::console::xbox
160165
image: package-ci/win10-xbox:v4
@@ -171,19 +176,22 @@ test_platforms:
171176
# EDITOR CONFIGURATIONS-------------------------------------------------------------------------------
172177
# Editors to be used for testing. NGOv2.X official support started from 6000.0 editor
173178
# TODO: When a new editor will be released it should be added to this list
179+
# standards editor is used for standards check so we won't get random manifest changes due to newer editor being used
174180

175181
validation_editors:
176182
default:
177183
- 6000.3
178184
all:
179185
- 6000.3
180-
- 6000.4
181186
- 6000.5
187+
- 6000.6
182188
- trunk
183-
- f1298548e194f35ff7dfa6fee699d4464ab3919c
189+
- 5fe7931aab8c4fff9274e15ef0800125c68b8d6a
184190
minimal:
185191
- 6000.0
186-
pinnedTrunk: f1298548e194f35ff7dfa6fee699d4464ab3919c
192+
standards:
193+
- 6000.3.21f1
194+
pinnedTrunk: 5fe7931aab8c4fff9274e15ef0800125c68b8d6a
187195

188196

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

.yamato/wrench/api-validation-jobs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ api_validation_-_netcode_gameobjects_-_6000_0_-_win10:
6060
UNITY_LICENSING_SERVER_DELETE_NUL: 0
6161
UNITY_LICENSING_SERVER_DELETE_ULF: 0
6262
UNITY_LICENSING_SERVER_TOOLSET: pro
63-
UPMPVP_CONTEXT_WRENCH: 2.9.0.0
63+
UPMPVP_CONTEXT_WRENCH: 3.2.1.0
6464
metadata:
6565
Job Maintainers: '#rm-packageworks'
66-
Wrench: 2.9.0.0
66+
Wrench: 3.2.1.0
6767

0 commit comments

Comments
 (0)