File tree Expand file tree Collapse file tree
tools/ci_build/github/azure-pipelines/stages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ stages:
5757 CudaVersion : ${{ parameters.CudaVersion }}
5858 buildJava : ${{ parameters.buildJava }}
5959 buildNodejs : ${{ parameters.buildNodejs }}
60+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
6061
6162- ${{ if eq(parameters.buildNodejs, 'true') }} :
6263 - template : nodejs-linux-packaging-stage.yml
@@ -71,6 +72,7 @@ stages:
7172 win_trt_home : ${{ parameters.win_trt_home }}
7273 win_cuda_home : ${{ parameters.win_cuda_home }}
7374 buildJava : ${{ parameters.buildJava }}
75+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
7476 PreReleaseVersionSuffixString : ${{ parameters.PreReleaseVersionSuffixString }}
7577 PreReleaseVersionSuffixNumber : ${{ parameters.PreReleaseVersionSuffixNumber }}
7678 CudaArchs : ${{ parameters.CudaArchs }}
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ stages:
186186 # 1* stands for version number. we use it to filter Gpu.Windows and Gpu.Linux packages
187187 PackageName : ' Microsoft.ML.OnnxRuntime.Gpu.1*nupkg'
188188 VerifyNugetSigning : false
189+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
189190
190191 - template : ../templates/validate-package.yml
191192 parameters :
@@ -194,6 +195,7 @@ stages:
194195 PackageName : ' Microsoft.ML.OnnxRuntime.Gpu.Windows.*nupkg'
195196 PlatformsSupported : ' win-x64'
196197 VerifyNugetSigning : false
198+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
197199
198200 - template : ../templates/validate-package.yml
199201 parameters :
@@ -202,6 +204,7 @@ stages:
202204 PackageName : ' Microsoft.ML.OnnxRuntime.Gpu.Linux.*nupkg'
203205 PlatformsSupported : ' linux-x64'
204206 VerifyNugetSigning : false
207+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
205208
206209 - task : MSBuild@1
207210 displayName : ' Clean C#'
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ parameters:
66 type : boolean
77- name : buildNodejs
88 type : boolean
9+ - name : IsReleaseBuild
10+ type : boolean
11+ default : false
912
1013stages :
1114- stage : Linux_C_API_Packaging_GPU
@@ -202,6 +205,7 @@ stages:
202205 ScriptPath : ' $(Build.SourcesDirectory)/onnxruntime/tools/nuget/validate_package.py'
203206 PlatformsSupported : ' linux-x64'
204207 VerifyNugetSigning : false
208+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
205209 workingDirectory : ' $(Build.ArtifactStagingDirectory)'
206210
207211
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ parameters:
5555- name : win_cudnn_home
5656 type : string
5757 default : ' '
58+ - name : IsReleaseBuild
59+ type : boolean
60+ default : false
5861
5962stages :
6063# Windows CUDA without TensorRT Packaging
@@ -179,6 +182,7 @@ stages:
179182 ScriptPath : ' $(Build.SourcesDirectory)\onnxruntime\tools\nuget\validate_package.py'
180183 PlatformsSupported : ' win-x64'
181184 VerifyNugetSigning : false
185+ IsReleaseBuild : ${{ parameters.IsReleaseBuild }}
182186 workingDirectory : ' $(Build.ArtifactStagingDirectory)'
183187
184188 - task : BatchScript@1
You can’t perform that action at this time.
0 commit comments