mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
[qnn ep] sign onnxruntime.dll/pyd for qnn packages (#20634)
sign only onnxruntime.dll and onnxruntime_pybind11_state.pyd in packages.
This commit is contained in:
parent
56f7035521
commit
a0c4bd4da7
3 changed files with 4 additions and 2 deletions
|
|
@ -73,6 +73,7 @@ jobs:
|
|||
FolderPath: '$(Build.BinariesDirectory)\Windows\${{ parameters.build_config }}\${{ parameters.build_config }}'
|
||||
DisplayName: 'ESRP - Sign dlls'
|
||||
DoEsrp: ${{ parameters.DoEsrp }}
|
||||
Pattern: 'onnxruntime.dll'
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: 'Generating nuspec for the native Nuget package x64'
|
||||
|
|
@ -178,6 +179,7 @@ jobs:
|
|||
FolderPath: '$(Build.BinariesDirectory)\Win_arm64\${{ parameters.build_config }}\${{ parameters.build_config }}'
|
||||
DisplayName: 'ESRP - Sign dlls'
|
||||
DoEsrp: ${{ parameters.DoEsrp }}
|
||||
Pattern: 'onnxruntime.dll'
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: 'Generating nuspec for the native Nuget package arm64'
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ jobs:
|
|||
FolderPath: '$(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo\onnxruntime\capi'
|
||||
DisplayName: 'ESRP - Sign Native dlls'
|
||||
DoEsrp: true
|
||||
Pattern: '*.pyd,*.dll'
|
||||
Pattern: '*.pyd'
|
||||
|
||||
- task: PythonScript@0
|
||||
displayName: 'Build wheel'
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ jobs:
|
|||
FolderPath: '$(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo\onnxruntime\capi'
|
||||
DisplayName: 'ESRP - Sign Native dlls'
|
||||
DoEsrp: true
|
||||
Pattern: '*.pyd,*.dll'
|
||||
Pattern: '*.pyd'
|
||||
|
||||
- task: PythonScript@0
|
||||
displayName: 'Build wheel'
|
||||
|
|
|
|||
Loading…
Reference in a new issue