mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-25 22:26:24 +00:00
### Description After this PR there are following pool need to be updated. old|new|note ---|---|--- onnxruntime-Win2019-GPU-dml-A10|tbd| onnxruntime-Win2019-GPU-T4|onnxruntime-Win2022-GPU-T4| onnxruntime-Win2019-GPU-training-T4|onnxruntime-Win2022-GPU-T4|ame as the above because we do not have many T4 GPUs onnxruntime-tensorrt8-winbuild-T4|tbd| aiinfra-dml-winbuild|tbd| ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
31 lines
No EOL
875 B
YAML
31 lines
No EOL
875 B
YAML
parameters:
|
|
- name: NpmPublish
|
|
displayName: 'NPM packages publish configuration'
|
|
type: string
|
|
values:
|
|
- 'nightly (@dev)'
|
|
- 'release candidate (@rc)'
|
|
- 'production (@latest)'
|
|
- 'custom'
|
|
default: 'nightly (@dev)'
|
|
|
|
variables:
|
|
# pipeline should define the following varaibles
|
|
# ExtraBuildArgs
|
|
# VersionSuffix
|
|
|
|
${{ if eq(parameters.NpmPublish, 'nightly (@dev)') }}:
|
|
NpmPackagingMode: 'dev'
|
|
${{ if eq(parameters.NpmPublish, 'release candidate (@rc)') }}:
|
|
NpmPackagingMode: 'rc'
|
|
${{ if eq(parameters.NpmPublish, 'production (@latest)') }}:
|
|
NpmPackagingMode: 'release'
|
|
${{ if eq(parameters.NpmPublish, 'custom') }}:
|
|
NpmPackagingMode: '$(VersionSuffix)'
|
|
|
|
stages:
|
|
- template: templates/web-ci.yml
|
|
parameters:
|
|
NpmPackagingMode: ${{ variables.NpmPackagingMode }}
|
|
IsReleasePipeline: true
|
|
PoolName: 'onnxruntime-Win-CPU-2022' |