Skip to content

Commit

Permalink
add webgl platform to CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
karasusan committed Sep 21, 2021
1 parent 8eb9e4b commit a478886
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .yamato/upm-ci-webrtc-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,21 @@ test_{{ package.name }}_{{ editor.version }}_android_{{ target.name }}:
{% endfor %}
{% endfor %}

test_{{ package.name }}_{{ editor.version }}_webgl_win:
name: Test {{ package.packagename }} with {{ editor.version }} on WebGL {{ target.name }}
agent:
type: Unity::VM::GPU
image: package-ci/win10:stable
flavor: b1.large
skip_checkout: true
dependencies:
- .yamato/upm-ci-{{ package.name }}-packages.yml#pack_{{ package.name }}
commands:
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- unity-downloader-cli -u {{ editor.version }} -c WebGL -c Editor -c StandaloneSupport-IL2CPP --fast -w
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
- ./utr --suite=playmode --platform=WebGL --editor-location=.Editor --testproject=WebRTC~ --artifacts_path=build/test-results --timeout=5400

{% for target in test_targets %}
{% for editor in editors %}
{% for param in target.test_params %}
Expand Down

0 comments on commit a478886

Please sign in to comment.