onnxruntime/tools/ci_build/github/azure-pipelines/templates/explicitly-defined-final-tasks.yml
Yi Zhang aa9fbed3d4
Add compilation cache for Linux GPU (#13995)
### Description
<!-- Describe your changes. -->



### 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. -->
2022-12-16 16:38:12 +08:00

22 lines
734 B
YAML

# It's used to replace clean-agent-build-directory-step.yml
# mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3 should be
# set as the first step of the job in case there's conflict with other task which
# defines Post-Job.
steps:
- task: PublishTestResults@2
displayName: 'Publish unit test results'
inputs:
testResultsFiles: '**/*.results.xml'
searchFolder: '$(Build.BinariesDirectory)'
testRunTitle: 'Unit Test Run'
condition: succeededOrFailed()
- template: component-governance-component-detection-steps.yml
parameters :
condition : 'succeeded'
- script: docker image prune -f
displayName: Clean docker images
condition: eq(variables['Agent.OS'], 'Linux')
continueOnError: true