[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:
George Wu 2024-05-09 20:45:44 -07:00 committed by GitHub
parent 56f7035521
commit a0c4bd4da7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -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'

View file

@ -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'

View file

@ -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'