Run fuzz testing before the CG task cleans up the build directory (#20500)

### 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
This commit is contained in:
Scott McKay 2024-04-29 16:02:53 +10:00 committed by GitHub
parent 50e41984b0
commit 923b0ef323
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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