Add parameter for flexdonwload (#22009)
### Description <!-- Describe your changes. --> ### Motivation and Context Thus, we can run Nuget_Packaging_GPU stage directly
This commit is contained in:
Родитель
ad9afbb042
Коммит
de7a02beef
|
@ -56,6 +56,8 @@ stages:
|
|||
DoCompliance: ${{ parameters.DoCompliance }}
|
||||
DoEsrp: ${{ parameters.DoEsrp }}
|
||||
IsReleaseBuild: ${{ parameters.IsReleaseBuild }}
|
||||
SpecificArtifact: ${{ parameters.SpecificArtifact }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
|
||||
- template: ../nuget/templates/test_win.yml
|
||||
parameters:
|
||||
|
@ -99,4 +101,4 @@ stages:
|
|||
NugetPackageName : 'Microsoft.ML.OnnxRuntime.Gpu.Linux'
|
||||
CudaVersion: ${{ parameters.CudaVersion }}
|
||||
SpecificArtifact: ${{ parameters.specificArtifact }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
|
|
|
@ -8,6 +8,14 @@ parameters:
|
|||
- name: IsReleaseBuild
|
||||
type: boolean
|
||||
|
||||
- name: SpecificArtifact
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
- name: BuildId
|
||||
type: string
|
||||
default: '0'
|
||||
|
||||
stages:
|
||||
######## Nuget ########
|
||||
# Win/Linux CUDA Combined packaging
|
||||
|
@ -39,24 +47,32 @@ stages:
|
|||
StepName: 'Download Pipeline Artifact - NuGet'
|
||||
ArtifactName: 'onnxruntime-win-x64-cuda'
|
||||
TargetPath: '$(Build.BinariesDirectory)/nuget-artifact'
|
||||
SpecificArtifact: ${{ parameters.SpecificArtifact }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
|
||||
- template: ../templates/flex-downloadPipelineArtifact.yml
|
||||
parameters:
|
||||
StepName: 'Download Pipeline Artifact - NuGet'
|
||||
ArtifactName: 'onnxruntime-win-x64-tensorrt'
|
||||
TargetPath: '$(Build.BinariesDirectory)/nuget-artifact'
|
||||
SpecificArtifact: ${{ parameters.SpecificArtifact }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
|
||||
- template: ../templates/flex-downloadPipelineArtifact.yml
|
||||
parameters:
|
||||
StepName: 'Download Pipeline Artifact - NuGet'
|
||||
ArtifactName: 'onnxruntime-linux-x64-cuda'
|
||||
TargetPath: '$(Build.BinariesDirectory)/nuget-artifact'
|
||||
SpecificArtifact: ${{ parameters.SpecificArtifact }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
|
||||
- template: ../templates/flex-downloadPipelineArtifact.yml
|
||||
parameters:
|
||||
StepName: 'Download Pipeline Artifact - NuGet'
|
||||
ArtifactName: 'onnxruntime-linux-x64-tensorrt'
|
||||
TargetPath: '$(Build.BinariesDirectory)/nuget-artifact'
|
||||
SpecificArtifact: ${{ parameters.SpecificArtifact }}
|
||||
BuildId: ${{ parameters.BuildId }}
|
||||
|
||||
# Reconstruct the build dir
|
||||
- task: PowerShell@2
|
||||
|
|
Загрузка…
Ссылка в новой задаче