mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
27 lines
818 B
YAML
27 lines
818 B
YAML
# sets up common build tools for the windows build machines before build
|
|
|
|
parameters:
|
|
- name: arch
|
|
type: string
|
|
|
|
- name: DoEsrp
|
|
displayName: Run code sign tasks? Must be true if you are doing an Onnx Runtime release.
|
|
type: boolean
|
|
default: true
|
|
|
|
- name: artifactName
|
|
type: string
|
|
default: ''
|
|
|
|
steps:
|
|
- template: win-esrp-dll.yml
|
|
parameters:
|
|
FolderPath: '$(Build.SourcesDirectory)\js\node\bin\napi-v3\win32\${{ parameters.arch }}'
|
|
DisplayName: 'ESRP - Sign Node.js binding binaries'
|
|
DoEsrp: ${{parameters.DoEsrp}}
|
|
Pattern: '*.node'
|
|
|
|
- task: PublishPipelineArtifact@1
|
|
inputs:
|
|
targetPath: '$(Build.SourcesDirectory)\js\node\bin\napi-v3\win32\${{ parameters.arch }}\onnxruntime_binding.node'
|
|
artifactName: '${{parameters.artifactName}}'
|