mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
### Description PR #22217 was reverted. This PR re-enables it. ### Motivation and Context
67 lines
1.6 KiB
YAML
67 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
|
|
- 'js/web'
|
|
- 'onnxruntime/core/providers/js'
|
|
pr:
|
|
branches:
|
|
include:
|
|
- main
|
|
- rel-*
|
|
paths:
|
|
exclude:
|
|
- docs/**
|
|
- README.md
|
|
- CONTRIBUTING.md
|
|
- BUILD.md
|
|
- 'js/web'
|
|
- 'onnxruntime/core/providers/js'
|
|
#### end trigger ####
|
|
|
|
parameters:
|
|
- name: NpmPublish
|
|
displayName: 'NPM packages publish configuration'
|
|
type: string
|
|
values:
|
|
- 'nightly (@dev)'
|
|
- 'release candidate (@rc)'
|
|
- 'production (@latest)'
|
|
- 'custom'
|
|
default: 'nightly (@dev)'
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: manylinux # The name used to reference this repository in the checkout step
|
|
type: Github
|
|
endpoint: Microsoft
|
|
name: pypa/manylinux
|
|
ref: 5eda9aded5462201e6310105728d33016e637ea7
|
|
|
|
variables:
|
|
skipComponentGovernanceDetection: true
|
|
${{ 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/react-native-ci.yml
|
|
parameters:
|
|
NpmPackagingMode: ${{ variables.NpmPackagingMode }}
|
|
BuildConfig: 'Release'
|
|
PoolName: 'onnxruntime-Ubuntu2204-AMD-CPU'
|
|
enable_code_sign: false
|