mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-27 22:45:57 +00:00
### Description After editing the set-trigger-rules.py, we must run the file. ### Motivation and Context Obviously the script wasn't run because some files's name are incorrect.
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
##### start trigger Don't edit it manually, Please do edit set-trigger-rules.py ####
|
|
### please do rerun set-trigger-rules.py ###
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- main
|
|
- rel-*
|
|
paths:
|
|
exclude:
|
|
- docs/**
|
|
- README.md
|
|
- CONTRIBUTING.md
|
|
- BUILD.md
|
|
pr:
|
|
branches:
|
|
include:
|
|
- main
|
|
- rel-*
|
|
paths:
|
|
exclude:
|
|
- docs/**
|
|
- README.md
|
|
- CONTRIBUTING.md
|
|
- BUILD.md
|
|
#### end trigger ####
|
|
|
|
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 variables
|
|
# 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: false
|
|
PoolName: 'onnxruntime-Ubuntu2204-AMD-CPU'
|
|
BuildStaticLib: true
|
|
ExtraBuildArgs: $(ExtraBuildArgs)
|
|
WASMTemplate: linux-wasm-ci.yml
|
|
UseWebPoolName: true
|
|
RunWebGpuTestsForDebugBuild: false
|
|
RunWebGpuTestsForReleaseBuild: true
|
|
WebGpuPoolName: 'onnxruntime-Win2022-webgpu-A10'
|
|
WebCpuPoolName: 'onnxruntime-Win-CPU-2022-web'
|
|
WithCache: false
|