浏览代码
Make analytics module an optional dependency. (#5109)
Make analytics module an optional dependency. (#5109)
Co-authored-by: Chris Elion <chris.elion@unity3d.com>/develop/input-actuator-tanks
GitHub
4 年前
当前提交
367f7a60
共有 14 个文件被更改,包括 112 次插入 和 34 次删除
-
1.yamato/com.unity.ml-agents-test.yml
-
2Project/Packages/manifest.json
-
1com.unity.ml-agents/CHANGELOG.md
-
28com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs
-
38com.unity.ml-agents/Runtime/Analytics/TrainingAnalytics.cs
-
4com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs
-
4com.unity.ml-agents/Runtime/Communicator/RpcCommunicator.cs
-
3com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs
-
9com.unity.ml-agents/Runtime/Unity.ML-Agents.asmdef
-
3com.unity.ml-agents/Tests/Editor/Analytics/InferenceAnalyticsTests.cs
-
6com.unity.ml-agents/Tests/Editor/Communicator/GrpcExtensionsTests.cs
-
7com.unity.ml-agents/Tests/Editor/Unity.ML-Agents.Editor.Tests.asmdef
-
3com.unity.ml-agents/package.json
-
37.yamato/com.unity.ml-agents-optional-dep-tests.yml
|
|||
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") |
|||
|
撰写
预览
正在加载...
取消
保存
Reference in new issue