Skip to content

Commit

Permalink
Run fuzz testing before the CG task cleans up the build directory (mi…
Browse files Browse the repository at this point in the history
…crosoft#20500) (microsoft#20516)

### Description
<!-- Describe your changes. -->
Update order of steps


### 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 CI

Co-authored-by: Scott McKay <[email protected]>
  • Loading branch information
yihonglyu and skottmckay authored Apr 30, 2024
1 parent 21b3cbc commit 204f1f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
workingFolder: '$(Build.BinariesDirectory)\$(BuildConfig)'
createLogFile: true

- template: templates/component-governance-component-detection-steps.yml
parameters :
condition : 'succeeded'

- task: CmdLine@2
displayName: 'Run fuzz testing '
inputs:
script: '$(Build.BinariesDirectory)\$(BuildConfig)\$(BuildConfig)\onnxruntime_security_fuzz.exe /t /f "$(Build.BinariesDirectory)\$(BuildConfig)\$(BuildConfig)\testdata\mnist.onnx" 1 m'
workingDirectory: $(Build.BinariesDirectory)\$(BuildConfig)\$(BuildConfig)
failOnStderr: false # Optional

- template: templates/component-governance-component-detection-steps.yml
parameters :
condition : 'succeeded'

0 comments on commit 204f1f5

Please sign in to comment.