您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
44 行
1.4 KiB
44 行
1.4 KiB
test_editors:
|
|
- version: 2018.4
|
|
- version: 2019.3
|
|
---
|
|
{% for editor in test_editors %}
|
|
test_mac_training_int_{{ editor.version }}:
|
|
name: Test Mac Fast Training {{ editor.version }}
|
|
agent:
|
|
type: Unity::VM::osx
|
|
image: ml-agents/ml-agents-bokken-mac:0.1.4-492264
|
|
flavor: b1.small
|
|
variables:
|
|
UNITY_VERSION: {{ editor.version }}
|
|
commands:
|
|
- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
|
|
- python -u -m ml-agents.tests.yamato.training_int_tests
|
|
# Backwards-compatibility tests.
|
|
# If we make a breaking change to the communication protocol, these will need
|
|
# to be disabled until the next release.
|
|
# - python -u -m ml-agents.tests.yamato.training_int_tests --python=0.15.0
|
|
# - python -u -m ml-agents.tests.yamato.training_int_tests --csharp=0.15.0
|
|
dependencies:
|
|
- .yamato/standalone-build-test.yml#test_mac_standalone_{{ editor.version }}
|
|
triggers:
|
|
cancel_old_ci: true
|
|
changes:
|
|
only:
|
|
- "com.unity.ml-agents/**"
|
|
- "Project/**"
|
|
- "ml-agents/**"
|
|
- "ml-agents-envs/**"
|
|
- ".yamato/training-int-tests.yml"
|
|
except:
|
|
- "*.md"
|
|
- "com.unity.ml-agents/*.md"
|
|
- "com.unity.ml-agents/**/*.md"
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "artifacts/standalone_build.txt"
|
|
standalonebuild:
|
|
paths:
|
|
- "artifacts/testplayer*/**"
|
|
{% endfor %}
|