您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
30 行
1.1 KiB
30 行
1.1 KiB
{% capture editor_version %}2020.2{% endcapture %}
|
|
test_webgl_standalone_{{ editor_version }}:
|
|
name: Test WebGL Standalone {{ editor_version }}
|
|
agent:
|
|
type: Unity::VM
|
|
image: package-ci/ubuntu:stable
|
|
flavor: b1.large
|
|
variables:
|
|
UNITY_VERSION: {{ editor_version }}
|
|
commands:
|
|
- |
|
|
python3 -m venv venv && source venv/bin/activate
|
|
python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
|
|
python -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 -c WebGL --wait --fast
|
|
python -u -m ml-agents.tests.yamato.standalone_build_tests --build-target=webgl
|
|
|
|
triggers:
|
|
cancel_old_ci: true
|
|
recurring:
|
|
- branch: master
|
|
frequency: weekly
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "artifacts/standalone_build.txt"
|
|
standalonebuild:
|
|
paths:
|
|
- "artifacts/testPlayer*/**"
|
|
- "artifacts/**/UnityPlayer.so"
|