mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Set DML package name correctly in CI (#18405)
### Description <!-- Describe your changes. --> Set DML package name correctly so the build doesn't try and include mobile targets. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix packaging pipeline.
This commit is contained in:
parent
8ff41aea09
commit
897c1c1f05
2 changed files with 1 additions and 2 deletions
|
|
@ -1094,7 +1094,6 @@ stages:
|
|||
DoNugetPack : 'true'
|
||||
DoCompliance: 'false'
|
||||
DoEsrp: ${{ parameters.DoEsrp }}
|
||||
OrtPackageId: 'Microsoft.ML.OnnxRuntime.DirectML'
|
||||
NuPackScript: |
|
||||
msbuild $(Build.SourcesDirectory)\csharp\OnnxRuntime.CSharp.proj /p:Configuration=RelWithDebInfo /t:CreatePackage /p:OrtPackageId=Microsoft.ML.OnnxRuntime.DirectML /p:IsReleaseBuild=${{ parameters.IsReleaseBuild }}
|
||||
copy $(Build.SourcesDirectory)\csharp\src\Microsoft.ML.OnnxRuntime\bin\RelWithDebInfo\*.nupkg $(Build.ArtifactStagingDirectory)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ parameters:
|
|||
EnvSetupScript: 'setup_env.bat'
|
||||
AgentPool: 'onnxruntime-Win-CPU-2022'
|
||||
AgentDemands: []
|
||||
OrtPackageId: Microsoft.ML.OnnxRuntime
|
||||
OrtPackageId: Microsoft.ML.OnnxRuntime.DirectML
|
||||
BuildConfigurations: ['RelWithDebInfo'] # Options: Debug, RelWithDebInfo
|
||||
RunTests : 'true'
|
||||
EnableLto: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue