|
|
|
|
|
|
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/unity-pypi-local/simple --upgrade |
|
|
|
- unity-downloader-cli -u trunk -c editor --wait --fast |
|
|
|
- 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 |
|
|
|
{% if platform.name == "win" %} |
|
|
|
- upm-ci package test -u "C:\build\output\Unity-Technologies\ml-agents\.Editor" --package-path com.unity.ml-agents {{ editor.coverageOptions }} |
|
|
|
{% else %} |
|
|
|
{% endif %} |
|
|
|
- python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ editor.minCoveragePct }} |
|
|
|
artifacts: |
|
|
|
logs: |
|
|
|