Skip to content

Commit f442194

Browse files
Fix yamato bokken images and perf tests (#6032)
* Updated yamato CI to use updated bokken images. * Fixed performance tests.
1 parent b14c400 commit f442194

Some content is hidden

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

44 files changed

+2707
-16
lines changed

.yamato/com.unity.ml-agents-performance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ Run_Mac_Perfomance_Tests{{ editor.version }}:
77
name: Run Mac Performance Tests {{ editor.version }}
88
agent:
99
type: Unity::VM::osx
10-
image: package-ci/mac:stable
11-
flavor: b1.small
10+
image: package-ci/macos-13:v4
11+
flavor: b1.large
1212
variables:
1313
UNITY_VERSION: {{ editor.version }}
1414
commands:
1515
- python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
1616
- unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
1717
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
1818
- chmod +x ./utr
19-
- ./utr --suite=editor --platform=StandaloneOSX --editor-location=.Editor --testproject=DevProject --artifacts_path=build/test-results --report-performance-data --performance-project-id=com.unity.ml-agents --zero-tests-are-ok=1
19+
- ./utr --suite=editor --platform=StandaloneOSX --editor-location=.Editor --testproject=PerformanceProject --artifacts_path=build/test-results --report-performance-data --performance-project-id=com.unity.ml-agents --zero-tests-are-ok=1
2020
triggers:
2121
cancel_old_ci: true
2222
recurring:

.yamato/com.unity.ml-agents-promotion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ test_editors:
33
test_platforms:
44
- name: win
55
type: Unity::VM
6-
image: package-ci/win10:stable
6+
image: package-ci/win11:v4
77
flavor: b1.large
88
---
99

@@ -43,7 +43,7 @@ promote:
4343
name: Promote to Production
4444
agent:
4545
type: Unity::VM
46-
image: package-ci/win10:stable
46+
image: package-ci/win11:v4
4747
flavor: b1.large
4848
variables:
4949
UPMCI_PROMOTION: 1

.yamato/com.unity.ml-agents-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ publish:
22
name: Publish ML-Agents to Internal Registry
33
agent:
44
type: Unity::VM
5-
image: package-ci/win10:stable
5+
image: package-ci/win11:v4
66
flavor: b1.large
77
variables:
88
UPMCI_ENABLE_PACKAGE_SIGNING: 1

.yamato/com.unity.ml-agents-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ trunk_editor:
1616
test_platforms:
1717
- name: win
1818
type: Unity::VM
19-
image: package-ci/win10:stable
19+
image: package-ci/win11:v4
2020
flavor: b1.large
2121
- name: mac
2222
type: Unity::VM::osx
23-
image: package-ci/mac:stable
23+
image: package-ci/macos-13:v4
2424
flavor: b1.large
2525
- name: linux
2626
type: Unity::VM

DevProject/Packages/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"com.unity.package-manager-doctools": "3.0.0-preview",
99
"com.unity.package-validation-suite": "0.59.0-preview",
1010
"com.unity.test-framework": "1.1.33",
11-
"com.unity.test-framework.performance": "2.2.0-preview",
11+
"com.unity.test-framework.performance": "3.0.3",
1212
"com.unity.testtools.codecoverage": "1.2.4",
1313
"com.unity.modules.imageconversion": "1.0.0",
1414
"com.unity.modules.physics": "1.0.0",

DevProject/Packages/packages-lock.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"depth": 0,
5656
"source": "local",
5757
"dependencies": {
58-
"com.unity.sentis": "1.3.0-pre.1",
58+
"com.unity.sentis": "1.3.0-pre.2",
5959
"com.unity.modules.imageconversion": "1.0.0",
6060
"com.unity.modules.jsonserialize": "1.0.0",
6161
"com.unity.modules.physics": "1.0.0"
@@ -105,7 +105,7 @@
105105
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
106106
},
107107
"com.unity.sentis": {
108-
"version": "1.3.0-pre.1",
108+
"version": "1.3.0-pre.2",
109109
"depth": 1,
110110
"source": "registry",
111111
"dependencies": {
@@ -141,12 +141,12 @@
141141
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
142142
},
143143
"com.unity.test-framework.performance": {
144-
"version": "2.2.0-preview",
144+
"version": "3.0.3",
145145
"depth": 0,
146146
"source": "registry",
147147
"dependencies": {
148-
"com.unity.test-framework": "1.1.0",
149-
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
148+
"com.unity.test-framework": "1.1.31",
149+
"com.unity.modules.jsonserialize": "1.0.0"
150150
},
151151
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
152152
},

PerformanceProject/.gitignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/[Ll]ibrary/
2+
/Logs/
3+
/[Tt]emp/
4+
/[Oo]bj/
5+
/[Bb]uild/
6+
/[Bb]uilds/
7+
/Assets/AssetStoreTools*
8+
/Assets/Plugins*
9+
/Assets/Demonstrations*
10+
/Assets/ML-Agents/Timers*
11+
/csharp_timers.json
12+
/CodeCoverage/
13+
14+
# Environemnt logfile
15+
*Project.log
16+
17+
# Visual Studio 2015 cache directory
18+
/.vs/
19+
20+
# Autogenerated VS/MD/Consulo solution and project files
21+
/ProjectExportedObj/
22+
/Project.consulo/
23+
*.csproj
24+
*.unityproj
25+
*.sln
26+
*.suo
27+
*.tmp
28+
*.user
29+
*.userprefs
30+
*.pidb
31+
*.booproj
32+
*.svd
33+
*.pdb
34+
35+
# Unity3D generated meta files
36+
*.pidb.meta
37+
38+
# Unity3D Generated File On Crash Reports
39+
/sysinfo.txt
40+
41+
# Builds
42+
*.apk
43+
*.unitypackage
44+
*.app
45+
*.exe
46+
*.x86_64
47+
*.x86
48+
49+
# Plugins
50+
/Assets/VideoRecorder*
51+
52+
# Mac hidden files
53+
*.DS_Store
54+
*/.ipynb_checkpoints
55+
*/.idea
56+
*.pyc
57+
*.idea/misc.xml
58+
*.idea/modules.xml
59+
*.idea/
60+
*.iml
61+
*.cache
62+
*/build/
63+
*/dist/
64+
*.egg-info*
65+
*.eggs*
66+
*.gitignore.swp
67+
68+
# VSCode hidden files
69+
*.vscode/
70+
71+
.DS_Store

PerformanceProject/Assets/ML-Agents.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PerformanceProject/Assets/ML-Agents/Scripts.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PerformanceProject/Assets/ML-Agents/Scripts/Tests.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)