Skip to content

Commit

Permalink
Upgrade binskim and fix an error in nuget packaging pipeline (microso…
Browse files Browse the repository at this point in the history
…ft#17340)

### Description
Upgrade binskim and fix an error in nuget packaging pipeline.
  • Loading branch information
snnn authored Aug 30, 2023
1 parent 21ae86e commit 71da082
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ parameters:

- name: OnnxruntimeNodejsBindingArch
type: string
values:
- arm64
- x64

- name: PoolName
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ steps:
debugMode: false
continueOnError: true

- task: BinSkim@3
- task: BinSkim@4
displayName: 'Run BinSkim'
inputs:
arguments: 'analyze $(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo\*.dll --recurse --verbose'
AnalyzeTargetGlob: '+:file|$(Build.ArtifactStagingDirectory)\**\*.dll;-:file|$(Build.ArtifactStagingDirectory)\**\DirectML.dll'
continueOnError: true

- task: DeleteFiles@1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ parameters:
type: string
default: ''

# We only have CUDA/TRT on x64. We do not have a build for CUDA/TRT for ARM64.
# Therefore this file does not have an `OnnxruntimeNodejsBindingArch` parameter

stages:
- stage: Linux_C_API_Packaging_GPU_TensorRT_x64
dependsOn: []
Expand Down Expand Up @@ -70,7 +73,7 @@ stages:
- ${{ if eq(parameters.buildNodejs, 'true') }}:
- template: nodejs-artifacts-package-and-publish-steps-posix.yml
parameters:
arch: '${{parameters.OnnxruntimeNodejsBindingArch}}'
arch: 'x64'
os: 'linux'
artifactName: 'drop-onnxruntime-nodejs-linux-x64-tensorrt'

Expand Down

0 comments on commit 71da082

Please sign in to comment.