|
{% capture editor_version %}2022.3{% endcapture %} |
|
test_webgl_standalone_{{ editor_version }}: |
|
name: Test WebGL Standalone {{ editor_version }} |
|
agent: |
|
type: Unity::VM |
|
image: ml-agents/ml-agents-ubuntu-18.04:latest |
|
flavor: b1.large |
|
variables: |
|
UNITY_VERSION: {{ editor_version }} |
|
commands: |
|
- | |
|
eval "$($HOME/anaconda/bin/conda shell.bash hook)" |
|
conda activate python3.8 |
|
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: develop |
|
frequency: weekly |
|
artifacts: |
|
logs: |
|
paths: |
|
- "artifacts/standalone_build.txt" |
|
standalonebuild: |
|
paths: |
|
- "artifacts/testPlayer*/**" |
|
- "artifacts/**/UnityPlayer.so" |
|
|