浏览代码

Adding configuration to run tests on cloudrendering

/priyesh-cloudrendering-test
Priyesh Wani 3 年前
当前提交
447da462
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 3
      .yamato/environments.yml
  2. 4
      .yamato/upm-ci-testprojects.yml

3
.yamato/environments.yml


- name: standalone
display_name: standalone
args: --suite=playmode --platform=
- name: cloudrendering
display_name: cloudrendering
args: --suite=playmode --platform=
- name: editmode
display_name: editmode
args: --suite=playmode --suite=editor --platform=Editor

4
.yamato/upm-ci-testprojects.yml


- pip config set global.index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade --user
- git clone git@github.cds.internal.unity3d.com:unity/utr.git utr
- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP,CloudRendering -c Linux --wait --published
{% else if suite.name == "cloudrendering" %}
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}CloudRendering
{% else %}
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --reruncount=2 --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}
{% endif %}

正在加载...
取消
保存