浏览代码

test

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

10
.yamato/publish.yml


- "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_{{ variant.name }}_{{ platform.name }}_{{ editor.version }}
{% endfor %}
{% endfor %}
#{% for editor in test_editors %}
#{% for platform in test_platforms %}
#- .yamato/upm-ci-full.yml#test_{{ variant.name }}_{{ 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 %}
正在加载...
取消
保存