From 923b0ef323a4b1d0181014fe8a2b857772f69bbe Mon Sep 17 00:00:00 2001 From: Scott McKay Date: Mon, 29 Apr 2024 16:02:53 +1000 Subject: [PATCH] Run fuzz testing before the CG task cleans up the build directory (#20500) ### Description Update order of steps ### Motivation and Context Fix CI --- .../github/azure-pipelines/win-ci-fuzz-testing.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml b/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml index db39c2cd2087f..d6fa5184f6882 100644 --- a/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml +++ b/tools/ci_build/github/azure-pipelines/win-ci-fuzz-testing.yml @@ -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'