Skip to content

Commit e232af6

Browse files
Merge branch 'develop-2.0.0' into fix-console-jobs
2 parents 9ee92da + 64123a7 commit e232af6

23 files changed

Lines changed: 65 additions & 2687 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ utr.bat
1212
Tools/CI/bin
1313
Tools/CI/obj
1414

15+
# Do not include the packages-lock file
16+
packages-lock.json

.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: 2 additions & 2 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: |-
@@ -130,7 +130,7 @@ develop_nightly:
130130
rerun: always
131131
dependencies:
132132
# Run project standards to verify package/default project
133-
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.default }}
133+
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.standards }}
134134
# Run APV jobs to make sure the change won't break any dependants
135135
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
136136
# Run package EditMode and Playmode tests on desktop platforms on trunk and 6000.0

.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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ test_platforms:
181181
# EDITOR CONFIGURATIONS-------------------------------------------------------------------------------
182182
# Editors to be used for testing. NGOv2.X official support started from 6000.0 editor
183183
# TODO: When a new editor will be released it should be added to this list
184+
# standards editor is used for standards check so we won't get random manifest changes due to newer editor being used
184185

185186
validation_editors:
186187
default:
@@ -194,6 +195,8 @@ validation_editors:
194195
- 5fe7931aab8c4fff9274e15ef0800125c68b8d6a
195196
minimal:
196197
- 6000.0
198+
standards:
199+
- 6000.0.72f1
197200
pinnedTrunk: 5fe7931aab8c4fff9274e15ef0800125c68b8d6a
198201

199202

Examples/CharacterControllerMovingBodies/Packages/manifest.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
"dependencies": {
33
"com.unity.2d.sprite": "1.0.0",
44
"com.unity.2d.tilemap": "1.0.0",
5-
"com.unity.ads": "4.4.2",
6-
"com.unity.ai.navigation": "2.0.9",
5+
"com.unity.ads": "4.16.4",
6+
"com.unity.ai.navigation": "2.0.12",
77
"com.unity.analytics": "3.8.1",
8-
"com.unity.collab-proxy": "2.10.0",
8+
"com.unity.collab-proxy": "2.12.4",
99
"com.unity.feature.development": "1.0.2",
10-
"com.unity.ide.rider": "3.0.38",
11-
"com.unity.ide.visualstudio": "2.0.25",
10+
"com.unity.ide.rider": "3.0.39",
11+
"com.unity.ide.visualstudio": "2.0.27",
1212
"com.unity.multiplayer.center": "1.0.0",
1313
"com.unity.netcode.gameobjects": "https://github.com/Unity-Technologies/com.unity.netcode.gameobjects.git?path=com.unity.netcode.gameobjects#develop-2.0.0",
14-
"com.unity.purchasing": "4.12.2",
14+
"com.unity.purchasing": "4.14.2",
1515
"com.unity.services.multiplayer": "1.2.0",
1616
"com.unity.test-framework": "1.6.0",
17-
"com.unity.timeline": "1.8.9",
17+
"com.unity.timeline": "1.8.10",
1818
"com.unity.toolchain.win-x86_64-linux-x86_64": "2.0.10",
19-
"com.unity.transport": "2.6.0",
19+
"com.unity.transport": "2.7.2",
2020
"com.unity.ugui": "2.0.0",
21-
"com.unity.visualscripting": "1.9.7",
21+
"com.unity.visualscripting": "1.9.11",
2222
"com.unity.xr.legacyinputhelpers": "2.1.12",
2323
"com.unity.modules.accessibility": "1.0.0",
2424
"com.unity.modules.ai": "1.0.0",

0 commit comments

Comments
 (0)