File size: 1,131 Bytes
05c9ac2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{% 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"