您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
118 行
3.7 KiB
118 行
3.7 KiB
{% metadata_file .yamato/environments.yml %}
|
|
|
|
---
|
|
pack:
|
|
name: Pack Perception package
|
|
agent:
|
|
type: Unity::VM
|
|
image: package-ci/win10:stable
|
|
flavor: b1.large
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
- npm install upm-ci-utils -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
|
|
- upm-ci package pack --package-path ./com.unity.perception/
|
|
artifacts:
|
|
packages:
|
|
paths:
|
|
- "upm-ci~/packages/**/*"
|
|
|
|
{% for editor in test_editors %}
|
|
{% for platform in test_platforms %}
|
|
pkg_test_{{ platform.name }}_{{ editor.version }}:
|
|
name : Package tests, {{ editor.version }}, {{ platform.name }}
|
|
agent:
|
|
type: {{ platform.type }}
|
|
image: {{ platform.image }}
|
|
flavor: {{ platform.flavor}}
|
|
commands:
|
|
- git submodule update --init --recursive
|
|
- npm install upm-ci-utils -g --registry {{ upmci_registry }}
|
|
- upm-ci package test -u {{ editor.version }} --package-path ./com.unity.perception --type vetting-tests
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "upm-ci~/test-results/**/*"
|
|
dependencies:
|
|
- .yamato/upm-ci-full.yml#pack
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
test_trigger:
|
|
name: All Tests
|
|
agent:
|
|
type: Unity::VM
|
|
image: package-ci/win10:stable
|
|
flavor: b1.small
|
|
commands:
|
|
- dir
|
|
triggers:
|
|
branches:
|
|
only:
|
|
- "/.*/"
|
|
recurring:
|
|
- branch: master
|
|
frequency: daily # Should run between midnight and 6AM UTC
|
|
cancel_old_ci: true
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "upm-ci~/test-results/**/*"
|
|
packages:
|
|
paths:
|
|
- "upm-ci~/packages/**/*"
|
|
dependencies:
|
|
{% for editor in commit_hook_editors %}
|
|
{% for platform in test_platforms %}
|
|
- .yamato/upm-ci-full.yml#pkg_test_{{platform.name}}_{{editor.version}}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
# Disabling trigger of standalone tests which aren't working at the moment
|
|
{% for editor in commit_hook_editors %}
|
|
- .yamato/upm-ci-testprojects.yml#codecoverage_windows_editmode_{{editor.version}}
|
|
{% for project in projects %}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_standalone_{{editor.version}}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_standalone_{{editor.version}}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_editmode_{{editor.version}}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_editmode_{{editor.version}}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
|
|
nightly_trigger:
|
|
name: Nightly Additional Tests
|
|
agent:
|
|
type: Unity::VM
|
|
image: package-ci/win10:stable
|
|
flavor: b1.small
|
|
commands:
|
|
- dir
|
|
triggers:
|
|
recurring:
|
|
- branch: master
|
|
frequency: daily # Should run between midnight and 6AM UTC
|
|
cancel_old_ci: true
|
|
artifacts:
|
|
logs:
|
|
paths:
|
|
- "upm-ci~/test-results/**/*"
|
|
packages:
|
|
paths:
|
|
- "upm-ci~/packages/**/*"
|
|
dependencies:
|
|
{% for editor in nightly_editors %}
|
|
{% for platform in test_platforms %}
|
|
- .yamato/upm-ci-full.yml#pkg_test_{{platform.name}}_{{editor.version}}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
# Disabling trigger of standalone tests which aren't working at the moment
|
|
{% for editor in nightly_editors %}
|
|
- .yamato/upm-ci-testprojects.yml#codecoverage_windows_editmode_{{editor.version}}
|
|
{% for project in projects %}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_standalone_{{editor.version}}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_standalone_{{editor.version}}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_editmode_{{editor.version}}
|
|
- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_editmode_{{editor.version}}
|
|
{% endfor %}
|
|
{% endfor %}
|