microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
c58c930739ffa481744d59a3e170895e1461b9b4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.pipelines/nuget.yml

56lines · modecode

1parameters:
2- name: DoCompliance
3 displayName: Run Compliance Tasks?
4 type: boolean
5 default: true
6
7- name: DoEsrp
8 displayName: Run code sign tasks? Must be true if you are doing an OnnxRuntime extensions release.
9 type: boolean
10 default: true
11
12- name: IsReleaseBuild
13 displayName: Is this a release build? Set it to true if you are doing an OnnxRuntime extensions release.
14 type: boolean
15 default: false
16
17- name: IsDummyPackage
18 displayName: Is this a build of Microsoft.ML.OnnxRuntime.Extensions.Dummy package that has no operators?
19 type: boolean
20 default: false
21
22- name: NugetVersionSuffix
23 displayName: Update nuget version suffix (e.g. alpha/beta/rc, only if publishing to nuget.org, otherwise leave as "none").
24 type: string
25 default: none
26
27trigger:
28 branches:
29 exclude:
30 - "*"
31
32pr:
33 branches:
34 include:
35 - "*"
36
37stages:
38- ${{ if eq(parameters.IsDummyPackage, false) }}:
39 - template: templates/build-package-for-nuget.yml
40 parameters:
41 DoCompliance: ${{ parameters.DoCompliance }}
42 DoEsrp: ${{ parameters.DoEsrp }}
43 IsReleaseBuild: ${{ parameters.IsReleaseBuild }}
44 NugetVersionSuffix: ${{ parameters.NugetVersionSuffix }}
45
46- ${{ else }}:
47 - template: templates/build-package-for-nuget.yml
48 parameters:
49 DoCompliance: ${{ parameters.DoCompliance }}
50 DoEsrp: ${{ parameters.DoEsrp }}
51 IsReleaseBuild: ${{ parameters.IsReleaseBuild }}
52 NugetVersionSuffix: ${{ parameters.NugetVersionSuffix }}
53 IsDummyPackage: true
54 # set flags to do a build with no operators for the dummy package
55 OperatorSelectionFlags: ''
56 AdditionalBuildFlags: '--include_ops_by_config ./tools/ci_build/no_ops.config --skip_tests --cmake_extra_defines OCOS_ENABLE_CTEST=OFF'
57