2020-05-20 07:18:02 +03:00
|
|
|
test_editors:
|
2021-03-22 20:08:37 +03:00
|
|
|
- version: 2020.3.0f1
|
2020-05-20 07:18:02 +03:00
|
|
|
suites:
|
|
|
|
- name: standalone
|
|
|
|
display_name: standalone
|
|
|
|
args: --suite=playmode --platform=
|
|
|
|
- name: editmode
|
|
|
|
display_name: editmode
|
|
|
|
args: --suite=playmode --suite=editor --platform=Editor
|
|
|
|
---
|
|
|
|
|
|
|
|
all_tests:
|
|
|
|
name: All Tests
|
|
|
|
agent:
|
|
|
|
type: Unity::VM
|
|
|
|
image: package-ci/win10:stable
|
|
|
|
flavor: b1.small
|
|
|
|
commands:
|
|
|
|
- dir
|
2021-03-22 21:32:06 +03:00
|
|
|
#triggers:
|
|
|
|
# branches:
|
|
|
|
# only:
|
|
|
|
#- "/.*/"
|
2020-05-20 07:18:02 +03:00
|
|
|
artifacts:
|
|
|
|
logs:
|
|
|
|
paths:
|
|
|
|
- "upm-ci~/test-results/**/*"
|
|
|
|
packages:
|
|
|
|
paths:
|
|
|
|
- "upm-ci~/packages/**/*"
|
|
|
|
dependencies:
|
|
|
|
{% for editor in test_editors %}
|
|
|
|
{% for suite in suites %}
|
|
|
|
- .yamato/ci-test.yml#windows_{{suite.name}}_{{editor.version}}
|
|
|
|
- .yamato/ci-test.yml#linux_{{suite.name}}_{{editor.version}}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for editor in test_editors %}
|
|
|
|
{% for suite in suites %}
|
|
|
|
windows_{{suite.name}}_{{editor.version}}:
|
|
|
|
name : {{ suite.display_name }} tests ({{ editor.version }}, Windows)
|
|
|
|
agent:
|
|
|
|
type: Unity::VM
|
|
|
|
image: package-ci/win10:stable
|
|
|
|
flavor: b1.large
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- git clone git@github.cds.internal.unity3d.com:unity/utr.git utr
|
|
|
|
- pip install unity-downloader-cli --extra-index-url https://artifactory.internal.unity3d.com/api/pypi/common-python/simple
|
|
|
|
- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
|
|
|
|
{% if suite.name == "standalone" %}
|
|
|
|
- utr/utr --testproject=./SynthDet --editor-location=./.Editor --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}StandaloneWindows64
|
|
|
|
{% else %}
|
2020-08-12 19:53:13 +03:00
|
|
|
- utr/utr --testproject=./SynthDet --editor-location=./.Editor --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}
|
2020-05-20 07:18:02 +03:00
|
|
|
{% endif %}
|
|
|
|
artifacts:
|
|
|
|
logs:
|
|
|
|
paths:
|
|
|
|
- "test-results/**/*"
|
2020-08-12 19:53:13 +03:00
|
|
|
|
2020-05-20 07:18:02 +03:00
|
|
|
linux_{{suite.name}}_{{editor.version}}:
|
|
|
|
name : {{ suite.display_name }} tests ({{ editor.version }}, Linux)
|
|
|
|
agent:
|
|
|
|
type: Unity::VM::GPU
|
|
|
|
image: cds-ops/ubuntu-18.04-base:latest
|
|
|
|
flavor: b1.large
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- sudo -H pip install --upgrade pip
|
2020-08-12 19:53:13 +03:00
|
|
|
- sudo -H pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
|
2020-05-20 07:18:02 +03:00
|
|
|
- git clone git@github.cds.internal.unity3d.com:unity/utr.git utr
|
|
|
|
- sudo unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
|
|
|
|
{% if suite.name == "standalone" %}
|
|
|
|
- DISPLAY=:0.0 utr/utr --testproject=./SynthDet --editor-location=.Editor --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}StandaloneLinux64
|
|
|
|
{% else %}
|
|
|
|
- DISPLAY=:0.0 utr/utr --testproject=./SynthDet --editor-location=.Editor --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}
|
|
|
|
{% endif %}
|
|
|
|
artifacts:
|
|
|
|
logs:
|
|
|
|
paths:
|
|
|
|
- "test-results/**/*"
|
2020-08-12 19:53:13 +03:00
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|