vincentpierre
4 年前
当前提交
d4716caa
共有 174 个文件被更改,包括 1414 次插入 和 1846 次删除
-
2.gitignore
-
100.yamato/com.unity.ml-agents-optional-dep-tests.yml
-
2.yamato/com.unity.ml-agents-pack.yml
-
254.yamato/com.unity.ml-agents-test.yml
-
6.yamato/test_versions.metafile
-
40DevProject/Packages/manifest.json
-
311DevProject/Packages/packages-lock.json
-
4DevProject/ProjectSettings/EditorBuildSettings.asset
-
4DevProject/ProjectSettings/ProjectVersion.txt
-
7Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta
-
7Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo.meta
-
7Project/Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo.meta
-
10Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs
-
7Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawler.demo.meta
-
7Project/Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGridWorld.demo.meta
-
7Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo.meta
-
1001Project/Assets/ML-Agents/Examples/Match3/TFModels/Match3VectorObs.onnx
-
7Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPushBlock.demo.meta
-
7Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo.meta
-
8Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs
-
7Project/Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo.meta
-
4Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensor.cs
-
22Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensorComponent.cs
-
40Project/Packages/manifest.json
-
16Project/ProjectSettings/EditorSettings.asset
-
4Project/ProjectSettings/GraphicsSettings.asset
-
114Project/ProjectSettings/ProjectSettings.asset
-
3Project/ProjectSettings/ProjectVersion.txt
-
12com.unity.ml-agents.extensions/Documentation~/com.unity.ml-agents.extensions.md
-
4com.unity.ml-agents.extensions/Editor/Input/InputActuatorComponentEditor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/Adaptors/ButtonInputActionAdaptor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/Adaptors/DoubleInputActionAdaptor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/Adaptors/FloatInputActionAdaptor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/Adaptors/IntegerInputActionAdaptor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/Adaptors/Vector2InputActionAdaptor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/IInputActionAssetProvider.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/IRLActionInputAdaptor.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/InputActionActuator.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/InputActuatorComponent.cs
-
4com.unity.ml-agents.extensions/Runtime/Input/InputActuatorEventContext.cs
-
161com.unity.ml-agents.extensions/Runtime/Match3/Match3Sensor.cs
-
26com.unity.ml-agents.extensions/Runtime/Match3/Match3SensorComponent.cs
-
24com.unity.ml-agents.extensions/Runtime/Sensors/ArticulationBodySensorComponent.cs
-
15com.unity.ml-agents.extensions/Runtime/Sensors/GridSensor.cs
-
10com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsBodySensor.cs
-
24com.unity.ml-agents.extensions/Runtime/Sensors/RigidBodySensorComponent.cs
-
164com.unity.ml-agents.extensions/Tests/Editor/Match3/Match3SensorTests.cs
-
10com.unity.ml-agents.extensions/Tests/Editor/Match3/match3obs0.png.meta
-
2com.unity.ml-agents.extensions/Tests/Editor/Match3/match3obs_special0.png
-
10com.unity.ml-agents.extensions/Tests/Editor/Match3/match3obs_special0.png.meta
-
19com.unity.ml-agents.extensions/Tests/Editor/Sensors/ChannelHotShapeTests.cs
-
15com.unity.ml-agents.extensions/Tests/Editor/Sensors/ChannelShapeTests.cs
-
27com.unity.ml-agents.extensions/Tests/Editor/Sensors/GridSensorTestUtils.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/ButtonInputActionAdaptorTests.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/DoubleInputActionAdaptorTests.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/FloatInputActionAdapatorTests.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/IntegerInputActionAdaptorTests.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors/Vector2InputActionAdaptorTests.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/InputActionActuatorTests.cs
-
4com.unity.ml-agents.extensions/Tests/Runtime/Input/TestPushBlockActions.cs
-
14com.unity.ml-agents.extensions/Tests/Runtime/Sensors/ArticulationBodySensorTests.cs
-
14com.unity.ml-agents.extensions/Tests/Runtime/Sensors/RigidBodySensorTests.cs
-
5com.unity.ml-agents.extensions/package.json
-
20com.unity.ml-agents/CHANGELOG.md
-
2com.unity.ml-agents/Documentation~/com.unity.ml-agents.md
-
6com.unity.ml-agents/Editor/MLAgentsSettingsBuildProvider.cs
-
4com.unity.ml-agents/Editor/MLAgentsSettingsProvider.cs
-
16com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs
-
14com.unity.ml-agents/Editor/Unity.ML-Agents.Editor.asmdef
-
18com.unity.ml-agents/Runtime/Agent.cs
-
2com.unity.ml-agents/Runtime/Analytics/Events.cs
-
34com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs
-
49com.unity.ml-agents/Runtime/Analytics/TrainingAnalytics.cs
-
44com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs
-
1com.unity.ml-agents/Runtime/Inference/ModelRunner.cs
-
31com.unity.ml-agents/Runtime/Policies/BarracudaPolicy.cs
-
2com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs
-
4com.unity.ml-agents/Runtime/Policies/HeuristicPolicy.cs
-
14com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs
-
6com.unity.ml-agents/Runtime/Sensors/BufferSensor.cs
-
10com.unity.ml-agents/Runtime/Sensors/BufferSensorComponent.cs
-
5com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs
-
21com.unity.ml-agents/Runtime/Sensors/CameraSensorComponent.cs
-
24com.unity.ml-agents/Runtime/Sensors/ISensor.cs
-
14com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs
-
9com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs
-
24com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponentBase.cs
-
5com.unity.ml-agents/Runtime/Sensors/Reflection/ReflectionSensorBase.cs
-
5com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs
-
22com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs
-
13com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs
-
27com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs
-
6com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs
-
10com.unity.ml-agents/Runtime/Unity.ML-Agents.asmdef
-
7com.unity.ml-agents/Runtime/Utilities.cs
-
6com.unity.ml-agents/Tests/Editor/AcademyTests.cs
-
12com.unity.ml-agents/Tests/Editor/Analytics/TrainingAnalyticsTest.cs
-
137com.unity.ml-agents/Tests/Editor/Communicator/GrpcExtensionsTests.cs
-
4com.unity.ml-agents/Tests/Editor/Inference/ModelRunnerTest.cs
|
|||
OptionalDependencyTestsLinux: |
|||
name : LinuxOptionalDependenciesTests |
|||
agent: |
|||
type: Unity::VM |
|||
image: package-ci/ubuntu:stable |
|||
flavor: b1.medium |
|||
commands: |
|||
- | |
|||
curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add - |
|||
sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list" |
|||
sudo apt update |
|||
sudo apt install -y unity-config |
|||
npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|||
unity-config settings editor-path ./.Editor |
|||
unity-config project create opt-deps-test |
|||
unity-config project add dependency com.unity.ml-agents/ |
|||
unity-config project add testable com.unity.ml-agents |
|||
unity-config project add dependency com.unity.modules.imageconversion@1.0.0 |
|||
unity-config project add dependency com.unity.modules.jsonserialize@1.0.0 |
|||
unity-config project add dependency com.unity.modules.physics@1.0.0 |
|||
unity-config project add dependency com.unity.modules.physics2d@1.0.0 |
|||
upm-ci project test -u 2019.4 --type project-tests --project-path opt-deps-test --package-filter com.unity.ml-agents |
|||
artifacts: |
|||
logs: |
|||
paths: |
|||
- "upm-ci~/test-results/**/*" |
|||
dependencies: |
|||
- .yamato/com.unity.ml-agents-pack.yml#pack |
|||
triggers: |
|||
cancel_old_ci: true |
|||
expression: | |
|||
(pull_request.target eq "main" OR |
|||
pull_request.target match "release.+") AND |
|||
NOT pull_request.draft AND |
|||
(pull_request.changes.any match "com.unity.ml-agents/**" OR |
|||
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml") |
|||
optional_deps: |
|||
- name: Analytics |
|||
project: "OptionalDepedencyTests/NoAnalyticsModule" |
|||
version: 2020.2 |
|||
- name: Physics |
|||
project: OptionalDepedencyTests/NoPhysicsModule |
|||
version: 2020.2 |
|||
- name: Physics2D |
|||
project: OptionalDepedencyTests/NoPhysics2DModule |
|||
version: 2020.2 |
|||
--- |
|||
|
|||
{% for optional_dep in optional_deps %} |
|||
OptionalDependencyTests_{{ optional_dep.name }}: |
|||
name : Test Optional Package Dependencies {{ optional_dep.name }} |
|||
agent: |
|||
type: Unity::VM |
|||
image: package-ci/ubuntu:stable |
|||
flavor: b1.medium |
|||
commands: |
|||
- | |
|||
curl -L https://artifactory.prd.it.unity3d.com/artifactory/api/gpg/key/public | sudo apt-key add - |
|||
sudo sh -c "echo 'deb https://artifactory.prd.it.unity3d.com/artifactory/unity-apt-local bionic main' > /etc/apt/sources.list.d/unity.list" |
|||
sudo apt update |
|||
sudo apt install -y unity-config |
|||
npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|||
unity-config settings editor-path ./.Editor |
|||
unity-config project create opt-deps-test |
|||
unity-config project add dependency com.unity.ml-agents/ |
|||
unity-config project add testable com.unity.ml-agents |
|||
unity-config project add dependency com.unity.modules.imageconversion@1.0.0 |
|||
unity-config project add dependency com.unity.modules.jsonserialize@1.0.0 |
|||
{% unless optional_dep.name == "Physics" %} |
|||
unity-config project add dependency com.unity.modules.physics@1.0.0 |
|||
{% endunless %} |
|||
{% unless optional_dep.name == "Physics2D" %} |
|||
unity-config project add dependency com.unity.modules.physics2d@1.0.0 |
|||
{% endunless %} |
|||
{% unless optional_dep.name == "Analytics" %} |
|||
unity-config project add dependency com.unity.modules.unityanalytics@1.0.0 |
|||
{% endunless %} |
|||
upm-ci project test -u {{ optional_dep.version }} --type project-tests --project-path opt-deps-test --package-filter com.unity.ml-agents |
|||
artifacts: |
|||
logs: |
|||
paths: |
|||
- "upm-ci~/test-results/**/*" |
|||
dependencies: |
|||
- .yamato/com.unity.ml-agents-pack.yml#pack |
|||
{% for coverage_editor in coverage_test_editors %} |
|||
{% for coverage_platform in coverage_test_platforms %} |
|||
{% for coverage_package in coverage_test_packages %} |
|||
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_{{ coverage_package.name }}_{{ coverage_platform.name }}_{{ coverage_editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
triggers: |
|||
cancel_old_ci: true |
|||
expression: | |
|||
(pull_request.target eq "main" OR |
|||
pull_request.target match "release.+") AND |
|||
NOT pull_request.draft AND |
|||
(pull_request.changes.any match "com.unity.ml-agents/**" OR |
|||
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml") |
|||
{% endfor %} |
|||
|
|
|||
{% metadata_file .yamato/coverage_tests.metafile %} |
|||
- version: 2018.4 |
|||
# 2018.4 doesn't support code-coverage |
|||
enableCodeCoverage: !!bool false |
|||
# We want some scene tests to run in the DevProject, but packages there only support 2019+ |
|||
testProject: Project |
|||
enableNoDefaultPackages: !!bool false |
|||
- version: 2019.4 |
|||
enableCodeCoverage: !!bool true |
|||
testProject: DevProject |
|||
enableNoDefaultPackages: !!bool true |
|||
- version: 2020.2 |
|||
enableCodeCoverage: !!bool true |
|||
testProject: DevProject |
|||
enableNoDefaultPackages: !!bool true |
|||
- version: 2019.4 |
|||
# We want some scene tests to run in the DevProject, but packages there only support 2020+ |
|||
testProject: Project |
|||
enableNoDefaultPackages: !!bool true |
|||
- version: 2020.2 |
|||
testProject: DevProject |
|||
enableNoDefaultPackages: !!bool true |
|||
- version: 2021.1 |
|||
testProject: DevProject |
|||
enableNoDefaultPackages: !!bool true |
|||
- version: trunk |
|||
# Workaround for MLA-1596 - need to make sure we load the right results. |
|||
enableCodeCoverage: !!bool false |
|||
testProject: DevProject |
|||
- version: trunk |
|||
# Workaround for MLA-1596 - need to make sure we load the right results. |
|||
testProject: DevProject |
|||
- name: win |
|||
type: Unity::VM |
|||
image: package-ci/win10:stable |
|||
flavor: b1.large |
|||
- name: mac |
|||
type: Unity::VM::osx |
|||
image: package-ci/mac:stable |
|||
flavor: b1.small |
|||
- name: linux |
|||
type: Unity::VM |
|||
image: package-ci/ubuntu:stable |
|||
flavor: b1.medium |
|||
- name: win |
|||
type: Unity::VM |
|||
image: package-ci/win10:stable |
|||
flavor: b1.large |
|||
- name: mac |
|||
type: Unity::VM::osx |
|||
image: package-ci/mac:stable |
|||
flavor: b1.small |
|||
- name: linux |
|||
type: Unity::VM |
|||
image: package-ci/ubuntu:stable |
|||
flavor: b1.medium |
|||
- name: com.unity.ml-agents |
|||
assembly: Unity.ML-Agents |
|||
minCoveragePct: 72 |
|||
- name: com.unity.ml-agents.extensions |
|||
assembly: Unity.ML-Agents.Extensions* |
|||
minCoveragePct: 75 |
|||
- name: com.unity.ml-agents |
|||
assembly: Unity.ML-Agents |
|||
minCoveragePct: 72 |
|||
- name: com.unity.ml-agents.extensions |
|||
assembly: Unity.ML-Agents.Extensions* |
|||
minCoveragePct: 75 |
|||
name: Run All Combinations of Editors/Platforms Tests |
|||
dependencies: |
|||
{% for editor in test_editors %} |
|||
{% for platform in test_platforms %} |
|||
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
name: Run All Combinations of Editors/Platforms Tests |
|||
dependencies: |
|||
{% for coverage_editor in coverage_test_editors %} |
|||
{% for coverage_platform in coverage_test_platforms %} |
|||
{% for coverage_package in coverage_test_packages %} |
|||
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_{{ coverage_package.name }}_{{ coverage_platform.name }}_{{ coverage_editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% for editor in test_editors %} |
|||
{% for platform in test_platforms %} |
|||
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% for editor in trunk_editor %} |
|||
{% for platform in test_platforms %} |
|||
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
triggers: |
|||
cancel_old_ci: true |
|||
recurring: |
|||
- branch: main |
|||
frequency: daily |
|||
{% for editor in trunk_editor %} |
|||
{% for platform in test_platforms %} |
|||
- .yamato/com.unity.ml-agents-test.yml#test_com.unity.ml-agents_{{ platform.name }}_{{ editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
triggers: |
|||
cancel_old_ci: true |
|||
recurring: |
|||
- branch: main |
|||
frequency: daily |
|||
|
|||
{% for package in packages %} |
|||
{% for package in packages %} |
|||
{% for platform in test_platforms %} |
|||
{% for platform in test_platforms %} |
|||
{% if editor.enableCodeCoverage %} |
|||
{% capture coverageOptions %} --enable-code-coverage --code-coverage-options 'generateHtmlReport;assemblyFilters:+{{ package.assembly }}'{% endcapture %} |
|||
{% else %} |
|||
{% assign coverageOptions = "" %} |
|||
{% endif %} |
|||
|
|||
{% if editor.enableNoDefaultPackages %} |
|||
{% if editor.enableNoDefaultPackages %} |
|||
{% else %} |
|||
{% else %} |
|||
{% endif %} |
|||
{% endif %} |
|||
name : {{ package.name }} test {{ editor.version }} on {{ platform.name }} |
|||
agent: |
|||
type: {{ platform.type }} |
|||
image: {{ platform.image }} |
|||
flavor: {{ platform.flavor}} |
|||
commands: |
|||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|||
- upm-ci project test -u {{ editor.version }} --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ coverageOptions }} {{ noDefaultPackagesOptions }} --extra-utr-arg "reruncount=2" |
|||
{% if editor.enableCodeCoverage %} |
|||
- python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ package.minCoveragePct }} |
|||
{% endif %} |
|||
artifacts: |
|||
logs: |
|||
paths: |
|||
- "upm-ci~/test-results/**/*" |
|||
dependencies: |
|||
- .yamato/com.unity.ml-agents-pack.yml#pack |
|||
triggers: |
|||
cancel_old_ci: true |
|||
{% if platform.name == "linux" %} |
|||
expression: | |
|||
(pull_request.target eq "main" OR |
|||
pull_request.target match "release.+") AND |
|||
NOT pull_request.draft AND |
|||
(pull_request.changes.any match "com.unity.ml-agents/**" OR |
|||
pull_request.changes.any match " {{ editor.testProject }}/**" OR |
|||
{% if package.name == "com.unity.ml-agents.extensions" %} |
|||
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR |
|||
name : {{ package.name }} test {{ editor.version }} on {{ platform.name }} |
|||
agent: |
|||
type: {{ platform.type }} |
|||
image: {{ platform.image }} |
|||
flavor: {{ platform.flavor}} |
|||
commands: |
|||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|||
- upm-ci project test -u {{ editor.version }} --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ noDefaultPackagesOptions }} --extra-utr-arg "reruncount=2" |
|||
artifacts: |
|||
logs: |
|||
paths: |
|||
- "upm-ci~/test-results/**/*" |
|||
dependencies: |
|||
- .yamato/com.unity.ml-agents-pack.yml#pack |
|||
{% for coverage_editor in coverage_test_editors %} |
|||
{% for coverage_platform in coverage_test_platforms %} |
|||
{% for coverage_package in coverage_test_packages %} |
|||
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_{{ coverage_package.name }}_{{ coverage_platform.name }}_{{ coverage_editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
triggers: |
|||
cancel_old_ci: true |
|||
{% if platform.name == "linux" %} |
|||
expression: | |
|||
(pull_request.target eq "main" OR |
|||
pull_request.target match "release.+") AND |
|||
NOT pull_request.draft AND |
|||
(pull_request.changes.any match "com.unity.ml-agents/**" OR |
|||
pull_request.changes.any match " {{ editor.testProject }}/**" OR |
|||
{% if package.name == "com.unity.ml-agents.extensions" %} |
|||
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR |
|||
{% endif %} |
|||
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml") |
|||
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml") |
|||
{% endif %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% for package in packages %} |
|||
{% for package in packages %} |
|||
{% for platform in test_platforms %} |
|||
{% for platform in test_platforms %} |
|||
{% if editor.enableCodeCoverage %} |
|||
{% capture coverageOptions %} --enable-code-coverage --code-coverage-options 'generateHtmlReport;assemblyFilters:+{{ package.assembly }}'{% endcapture %} |
|||
{% else %} |
|||
{% assign coverageOptions = "" %} |
|||
{% endif %} |
|||
name : {{ package.name }} test {{ editor.version }} on {{ platform.name }} |
|||
agent: |
|||
type: {{ platform.type }} |
|||
image: {{ platform.image }} |
|||
flavor: {{ platform.flavor}} |
|||
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 trunk -c editor --wait --fast |
|||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|||
- upm-ci project test -u {{ editor.version }} --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ coverageOptions }} --extra-create-project-arg="-upmNoDefaultPackages" --extra-utr-arg "reruncount=2" |
|||
{% if editor.enableCodeCoverage %} |
|||
- python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ package.minCoveragePct }} |
|||
{% endif %} |
|||
artifacts: |
|||
logs: |
|||
paths: |
|||
- "upm-ci~/test-results/**/*" |
|||
dependencies: |
|||
- .yamato/com.unity.ml-agents-pack.yml#pack |
|||
triggers: |
|||
cancel_old_ci: true |
|||
{% endfor %} |
|||
name : {{ package.name }} test {{ editor.version }} on {{ platform.name }} |
|||
agent: |
|||
type: {{ platform.type }} |
|||
image: {{ platform.image }} |
|||
flavor: {{ platform.flavor}} |
|||
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 trunk -c editor --wait --fast |
|||
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|||
- upm-ci project test -u {{ editor.version }} --project-path {{ editor.testProject }} --package-filter {{ package.name }} --extra-create-project-arg="-upmNoDefaultPackages" --extra-utr-arg "reruncount=2" |
|||
artifacts: |
|||
logs: |
|||
paths: |
|||
- "upm-ci~/test-results/**/*" |
|||
dependencies: |
|||
- .yamato/com.unity.ml-agents-pack.yml#pack |
|||
{% for coverage_editor in coverage_test_editors %} |
|||
{% for coverage_platform in coverage_test_platforms %} |
|||
{% for coverage_package in coverage_test_packages %} |
|||
- .yamato/com.unity.ml-agents-coverage.yml#test_coverage_{{ coverage_package.name }}_{{ coverage_platform.name }}_{{ coverage_editor.version }} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
triggers: |
|||
cancel_old_ci: true |
|||
{% endfor %} |
|||
{% endfor %} |
|||
{% endfor %} |
|||
|
|
|||
m_EditorVersion: 2019.4.20f1 |
|||
m_EditorVersionWithRevision: 2019.4.20f1 (6dd1c08eedfa) |
|||
m_EditorVersion: 2020.3.0f1 |
|||
m_EditorVersionWithRevision: 2020.3.0f1 (c7b5465681fb) |
|
|||
fileFormatVersion: 2 |
|||
guid: bbf6756da134740eaa002a1b84f655cb |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400000: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400000 |
|||
second: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 6942431e411b146be9a597663eca89af |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400000: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400000 |
|||
second: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 414224ce8b3e247ad936b17f574b10ab |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400000: Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400000 |
|||
second: Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 34586a8d0f1c342a49973b36a609e73b |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400002: Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawler.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400002 |
|||
second: Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawler.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 0092f2e4aece345aea4730a37eeebf68 |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400002: Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGridWorld.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400002 |
|||
second: Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGridWorld.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 41c6af18564fe425fa1c047d603ee34e |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400000: Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400000 |
|||
second: Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
Project/Assets/ML-Agents/Examples/Match3/TFModels/Match3VectorObs.onnx
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 7f11f35191533404c9957443a681aaee |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400002: Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPushBlock.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400002 |
|||
second: Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPushBlock.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 2f9d53c90f11846d7a6499ce0f1dfebb |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400000: Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400000 |
|||
second: Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: a4b02e2c382c247919eb63ce72e90a3b |
|||
ScriptedImporter: |
|||
fileIDToRecycleName: |
|||
11400002: Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo |
|||
internalIDToNameTable: |
|||
- first: |
|||
114: 11400002 |
|||
second: Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo |
|||
serializedVersion: 2 |
|||
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
{ |
|||
"dependencies": { |
|||
"com.unity.ads": "2.0.8", |
|||
"com.unity.collab-proxy": "1.2.15", |
|||
"com.unity.ide.rider": "3.0.5", |
|||
"com.unity.inputsystem": "1.1.0-preview.3", |
|||
"com.unity.package-manager-ui": "2.0.13", |
|||
"com.unity.textmeshpro": "1.4.1", |
|||
"com.unity.modules.ai": "1.0.0", |
|||
"com.unity.modules.animation": "1.0.0", |
|||
"com.unity.modules.assetbundle": "1.0.0", |
|||
"com.unity.modules.audio": "1.0.0", |
|||
"com.unity.modules.cloth": "1.0.0", |
|||
"com.unity.modules.director": "1.0.0", |
|||
"com.unity.nuget.newtonsoft-json": "2.0.0", |
|||
"com.unity.test-framework": "1.1.22", |
|||
"com.unity.toolchain.macos-x86_64-linux-x86_64": "0.1.20-preview", |
|||
"com.unity.ugui": "1.0.0", |
|||
"com.unity.modules.imgui": "1.0.0", |
|||
"com.unity.modules.particlesystem": "1.0.0", |
|||
"com.unity.modules.screencapture": "1.0.0", |
|||
"com.unity.modules.terrain": "1.0.0", |
|||
"com.unity.modules.terrainphysics": "1.0.0", |
|||
"com.unity.modules.tilemap": "1.0.0", |
|||
"com.unity.modules.ui": "1.0.0", |
|||
"com.unity.modules.umbra": "1.0.0", |
|||
"com.unity.modules.unityanalytics": "1.0.0", |
|||
"com.unity.modules.unitywebrequest": "1.0.0", |
|||
"com.unity.modules.unitywebrequestassetbundle": "1.0.0", |
|||
"com.unity.modules.unitywebrequestaudio": "1.0.0", |
|||
"com.unity.modules.unitywebrequesttexture": "1.0.0", |
|||
"com.unity.modules.unitywebrequestwww": "1.0.0", |
|||
"com.unity.modules.vehicles": "1.0.0", |
|||
"com.unity.modules.video": "1.0.0", |
|||
"com.unity.modules.vr": "1.0.0", |
|||
"com.unity.modules.wind": "1.0.0", |
|||
"com.unity.modules.xr": "1.0.0", |
|||
"com.unity.nuget.newtonsoft-json": "2.0.0" |
|||
"com.unity.modules.unityanalytics": "1.0.0" |
|||
"com.unity.ml-agents.extensions" |
|||
"com.unity.ml-agents.extensions", |
|||
"com.unity.inputsystem" |
|||
] |
|||
} |
|
|||
m_EditorVersion: 2018.4.32f1 |
|||
m_EditorVersion: 2019.4.20f1 |
|||
m_EditorVersionWithRevision: 2019.4.20f1 (6dd1c08eedfa) |