microsoft/onnxruntime-extensions

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2c3d6f7976130aeacd8c2de4f27569d3ef08520a

Branches

Tags

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

Clone

HTTPS

Download ZIP

.pipelines/OneBranch.Official.yml

60lines · modecode

1#################################################################################
2# OneBranch Pipelines - Official #
3# This pipeline was created by EasyStart from a sample located at: #
4# https://aka.ms/obpipelines/easystart/samples #
5# Documentation: https://aka.ms/obpipelines #
6# Yaml Schema: https://aka.ms/obpipelines/yaml/schema #
7# Retail Tasks: https://aka.ms/obpipelines/tasks #
8# Support: https://aka.ms/onebranchsup #
9#################################################################################
10
11trigger: none
12
13parameters: # parameters are shown up in ADO UI in a build queue time
14- name: 'debug'
15 displayName: 'Enable debug output'
16 type: boolean
17 default: false
18
19- name: ExtraEnv
20 displayName: 'Extra env variable set to CIBW_ENVIRONMENT, in form of "A=1 B=2 C=3"'
21 type: string
22 default: 'ExampleEnvVar=ON'
23
24variables:
25- template: /.pipelines/templates/onebranch-common-variables.yml@self
26 parameters:
27 debug: ${{ parameters.debug }}
28
29resources:
30 repositories:
31 - repository: templates
32 type: git
33 name: OneBranch.Pipelines/GovernedTemplates
34 ref: refs/heads/main
35
36extends:
37 template: v2/OneBranch.Official.CrossPlat.yml@templates
38 parameters:
39 cloudvault:
40 enabled: false
41 globalSdl:
42 asyncSdl:
43 enabled: false
44 tsa:
45 enabled: true
46 binskim:
47 break: true # always break the build on binskim issues in addition to TSA upload
48 analyzeTargetGlob: '**\RelWithDebInfo\ortextensions.dll' # avoid scanning the 3rd party DLLs.
49 codeql:
50 compiled:
51 enabled: true
52 cadence: 10
53 policheck:
54 break: true # always break the build on policheck issues. You can disable it by setting to 'false'
55 exclusionsFile: '$(REPOROOT)\.config\policheck_exclusions.xml'
56
57 stages:
58 - template: /.pipelines/templates/onebranch-windows-build-stage.yml@self
59 parameters:
60 CibwEnv: ${{ parameters.ExtraEnv }}
61