Skip to content

Commit

Permalink
Removed mac perf tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelalonsojr committed Sep 1, 2024
1 parent 8113c0d commit 9229cbc
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 74 deletions.
59 changes: 30 additions & 29 deletions .yamato/com.unity.ml-agents-performance.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
test_editors:
- version: 2023.2
---
{% for editor in test_editors %}
Run_Mac_Perfomance_Tests{{ editor.version }}:
name: Run Mac Performance Tests {{ editor.version }}
agent:
type: Unity::VM::osx
image: package-ci/macos-13:v4
flavor: b1.large
variables:
UNITY_VERSION: {{ editor.version }}
commands:
- python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
- chmod +x ./utr
- ./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
triggers:
cancel_old_ci: true
recurring:
- branch: develop
frequency: daily
artifacts:
logs:
paths:
- "build/test-results/**"
- "*.log"
{% endfor %}
#disabling mac perf tests until utr issue is resolved.
#test_editors:
# - version: 2023.2
#---
#{% for editor in test_editors %}
#Run_Mac_Perfomance_Tests{{ editor.version }}:
# name: Run Mac Performance Tests {{ editor.version }}
# agent:
# type: Unity::VM::osx
# image: package-ci/macos-13:v4
# flavor: b1.large
# variables:
# UNITY_VERSION: {{ editor.version }}
# commands:
# - python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
# - unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
# - curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools-local/utr-standalone/utr --output utr
# - chmod +x ./utr
# - ./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
# triggers:
# cancel_old_ci: true
# recurring:
# - branch: develop
# frequency: daily
# artifacts:
# logs:
# paths:
# - "build/test-results/**"
# - "*.log"
#{% endfor %}
11 changes: 7 additions & 4 deletions PerformanceProject/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"registry": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates",
"dependencies": {
"com.unity.collab-proxy": "2.2.0",
"com.unity.feature.development": "1.0.1",
"com.unity.collab-proxy": "2.3.1",
"com.unity.feature.development": "1.0.2",
"com.unity.ml-agents": "file:../../com.unity.ml-agents",
"com.unity.test-framework.build": "0.0.1-preview.15",
"com.unity.test-framework.performance": "3.0.3",
"com.unity.timeline": "1.7.6",
"com.unity.ugui": "1.0.0",
"com.unity.test-framework.utp-reporter": "1.1.0-preview",
"com.unity.timeline": "1.8.6",
"com.unity.ugui": "2.0.0",
"com.unity.visualscripting": "1.9.1",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
Expand Down
83 changes: 59 additions & 24 deletions PerformanceProject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"dependencies": {
"com.unity.burst": {
"version": "1.8.12",
"version": "1.8.13",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.2.1",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.collab-proxy": {
"version": "2.2.0",
"version": "2.3.1",
"depth": 0,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.collections": {
"version": "2.2.1",
Expand All @@ -27,43 +27,52 @@
"com.unity.nuget.mono-cecil": "1.11.4",
"com.unity.test-framework.performance": "3.0.2"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.editorcoroutines": {
"version": "1.0.0",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.ext.nunit": {
"version": "2.0.5",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.external.test-protocol": {
"version": "1.0.1-preview",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0-preview"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.feature.development": {
"version": "1.0.1",
"version": "1.0.2",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.rider": "3.0.27",
"com.unity.ide.rider": "3.0.28",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.2.2",
"com.unity.test-framework": "1.3.9",
"com.unity.testtools.codecoverage": "1.2.5"
}
},
"com.unity.ide.rider": {
"version": "3.0.27",
"version": "3.0.28",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.ext.nunit": "1.0.6"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.ide.visualstudio": {
"version": "2.0.22",
Expand All @@ -72,14 +81,14 @@
"dependencies": {
"com.unity.test-framework": "1.1.9"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.mathematics": {
"version": "1.2.6",
"depth": 3,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.ml-agents": {
"version": "file:../../com.unity.ml-agents",
Expand All @@ -97,14 +106,21 @@
"depth": 3,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.nuget.newtonsoft-json": {
"version": "3.2.1",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.performance.profile-analyzer": {
"version": "1.2.2",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.sentis": {
"version": "2.0.0",
Expand All @@ -115,14 +131,14 @@
"com.unity.collections": "2.2.1",
"com.unity.modules.imageconversion": "1.0.0"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.settings-manager": {
"version": "2.0.1",
"depth": 2,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.test-framework": {
"version": "1.3.9",
Expand All @@ -133,7 +149,16 @@
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.test-framework.build": {
"version": "0.0.1-preview.15",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.0.17"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.test-framework.performance": {
"version": "3.0.3",
Expand All @@ -143,7 +168,17 @@
"com.unity.test-framework": "1.1.31",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.test-framework.utp-reporter": {
"version": "1.1.0-preview",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.1",
"com.unity.external.test-protocol": "1.0.1-preview"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.testtools.codecoverage": {
"version": "1.2.5",
Expand All @@ -153,10 +188,10 @@
"com.unity.test-framework": "1.0.16",
"com.unity.settings-manager": "1.0.1"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.timeline": {
"version": "1.7.6",
"version": "1.8.6",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -165,10 +200,10 @@
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.ugui": {
"version": "1.0.0",
"version": "2.0.0",
"depth": 0,
"source": "builtin",
"dependencies": {
Expand All @@ -184,7 +219,7 @@
"com.unity.ugui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.modules.ai": {
"version": "1.0.0",
Expand Down
Loading

0 comments on commit 9229cbc

Please sign in to comment.