浏览代码

test

/publish-fix
Wesley Mareovich Smith 5 年前
当前提交
ffb490f8
共有 2 个文件被更改,包括 37 次插入8 次删除
  1. 18
      .yamato/publish.yml
  2. 27
      .yamato/upm-ci-full.yml

18
.yamato/publish.yml


---
{% for variant in package_variants %}
name: Publish to internal registry
name: Publish {{ variant.name }} package to internal registry
agent:
type: Unity::VM
image: package-ci/win10:stable

- upm-ci package publish --package-path com.unity.perception
- upm-ci package publish --package-path com.unity.simviz
triggers:
tags:
only:

paths:
- "upm-ci~/packages/*.tgz"
dependencies:
- .yamato/upm-ci-full.yml#pack_Perception
#{% for editor in test_editors %}
#{% for platform in test_platforms %}
#- .yamato/upm-ci-full.yml#test_perception_{{ platform.name }}_{{ editor.version }}
#{% endfor %}
#{% endfor %}
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
{% for editor in test_editors %}
{% for platform in test_platforms %}
- .yamato/upm-ci-full.yml#test_simviz_{{ platform.name }}_{{ editor.version }}
{% endfor %}
{% endfor %}
{% endfor %}

27
.yamato/upm-ci-full.yml


- .yamato/upm-ci-testprojects.yml#{{project.name}}_linux_editmode_{{editor.version}}
{% endfor %}
{% endfor %}
{% for variant in package_variants %}
publish:
name: Publish {{ variant.name }} package to internal registry
agent:
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
commands:
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- upm-ci package publish --package-path com.unity.simviz
triggers:
tags:
only:
- /^(r|R)(c|C)-\d+\.\d+\.\d+(-preview(\.\d+)?)?$/
artifacts:
artifacts:
paths:
- "upm-ci~/packages/*.tgz"
dependencies:
- .yamato/upm-ci-full.yml#pack_{{ variant.name }}
{% for editor in test_editors %}
{% for platform in test_platforms %}
- .yamato/upm-ci-full.yml#test_simviz_{{ platform.name }}_{{ editor.version }}
{% endfor %}
{% endfor %}
{% endfor %}
正在加载...
取消
保存