浏览代码

fixed yamato configs

/0.5.0-staging-2020.1
Steven Leal 4 年前
当前提交
3bcc8dd8
共有 3 个文件被更改,包括 25 次插入22 次删除
  1. 12
      .yamato/environments.yml
  2. 5
      .yamato/publish.yml
  3. 30
      .yamato/upm-ci-testprojects.yml

12
.yamato/environments.yml


complete_editors:
- version: 2019.4.6f1
version-shorthand: 2019.4
version-shorthand: 2020.1
# - version: 2020.2.0a21
# version-shorthand: 2020.2

- name: Perception
projects:
- name: PerceptionHDRP
- name: PerceptionURP
- name: PerceptionHDRP_2019.4
editor-version: 2019.4.6f1
- name: PerceptionURP_2019.4
editor-version: 2019.4.6f1
- name: PerceptionHDRP_2020.1
editor-version: 2020.1.9f1
- name: PerceptionURP_2020.1
editor-version: 2020.1.9f1

5
.yamato/publish.yml


- "upm-ci~/packages/*.tgz"
dependencies:
- .yamato/upm-ci-full.yml#pack_Perception
{% for editor in complete_editors %}
- .yamato/upm-ci-full.yml#pkg_test_Perception_{{platform.name}}_{{editor.version}}
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_{{suite.name}}_{{editor.version}}
- .yamato/upm-ci-full.yml#pkg_test_Perception_{{platform.name}}_{{project.editor-version}}
- .yamato/upm-ci-testprojects.yml#{{project.name}}_windows_{{suite.name}}_{{project.editor-version}}
{% endfor %}
{% endfor %}
{% endfor %}

30
.yamato/upm-ci-testprojects.yml


---
{% for editor in complete_editors %}
{{project.name}}_windows_{{suite.name}}_{{editor.version}}:
name : {{project.name}} {{ suite.display_name }} tests ({{ editor.version }}, Windows)
{{project.name}}_windows_{{suite.name}}_{{project.editor-version}}:
name : {{project.name}} {{ suite.display_name }} tests ({{ project.editor-version }}, Windows)
agent:
type: Unity::VM
image: package-ci/win10:stable

- git clone git@github.cds.internal.unity3d.com:unity/utr.git utr
- 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 StandaloneSupport-IL2CPP -c Linux --wait --published
- unity-downloader-cli -u {{ project.editor-version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
{% if suite.name == "standalone" %}
- utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=./.Editor --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-d3d11" {{suite.args}}StandaloneWindows64
{% else %}

{% endfor %}
{% endfor %}
{% for editor in coverage_editors %}
codecoverage_windows_{{suite.name}}_{{editor.version}}:
name : CodeCoverage {{ suite.display_name }} tests ({{ editor.version }}, Windows)
{% for project in projects %}
codecoverage_windows_{{suite.name}}_{{project.editor-version}}:
name : CodeCoverage {{ suite.display_name }} tests ({{ project.editor-version }}, Windows)
agent:
type: Unity::VM
image: package-ci/win10:stable

- unity-downloader-cli -u {{ editor.version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
- .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -testPlatform editmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport; assemblyFilters:Unity.Perception.Editor;Unity.Perception.Runtime;Unity.Perception.Sensors;
- .\.Editor\Unity.exe -projectPath ./TestProjects/PerceptionHDRP -testPlatform playmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport; assemblyFilters:Unity.Perception.Editor;Unity.Perception.Runtime;Unity.Perception.Sensors;
- unity-downloader-cli -u {{ project.editor-version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
- .\.Editor\Unity.exe -projectPath ./TestProjects/{{project.name}} -testPlatform editmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport; assemblyFilters:Unity.Perception.Editor;Unity.Perception.Runtime;Unity.Perception.Sensors;
- .\.Editor\Unity.exe -projectPath ./TestProjects/{{project.name}} -testPlatform playmode -runTests -automated -testResults test-results -debugCodeOptimization -enableCodeCoverage -coverageResultsPath test-results -coverageOptions enableCyclomaticComplexity;generateHtmlReport;generateBadgeReport; assemblyFilters:Unity.Perception.Editor;Unity.Perception.Runtime;Unity.Perception.Sensors;
- "TestProjects/PerceptionHDRP/test-results/**/*"
- "TestProjects/{{project.name}}/test-results/**/*"
{% for editor in complete_editors %}
{{project.name}}_linux_{{suite.name}}_{{editor.version}}:
name : {{project.name}} {{ suite.display_name }} tests ({{ editor.version }}, Linux)
{{project.name}}_linux_{{suite.name}}_{{project.editor-version}}:
name : {{project.name}} {{ suite.display_name }} tests ({{ project.editor-version }}, Linux)
agent:
type: Unity::VM::GPU
image: cds-ops/ubuntu-18.04-base:latest

- git submodule update --init --recursive
- 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 {{ project.editor-version }} -c editor -c StandaloneSupport-IL2CPP -c Linux --wait --published
{% if suite.name == "standalone" %}
- DISPLAY=:0.0 utr/utr --testproject=./TestProjects/{{project.name}} --editor-location=.Editor --artifacts_path=test-results --stdout-filter=minimal --extra-editor-arg="--force-vulkan" {{suite.args}}StandaloneLinux64
{% else %}

正在加载...
取消
保存