mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
30 lines
944 B
YAML
30 lines
944 B
YAML
steps:
|
|
- template: set-test-data-variables-step.yml
|
|
|
|
- task: CmdLine@2
|
|
displayName: 'Clean untagged docker images'
|
|
inputs:
|
|
script: |
|
|
docker rm $(docker ps -a | grep Exited | awk '{print $1;}') || true
|
|
docker container prune -f
|
|
docker image prune -f
|
|
workingDirectory: $(Build.BinariesDirectory)
|
|
continueOnError: true
|
|
condition: always()
|
|
|
|
- task: CmdLine@2
|
|
displayName: 'Download azcopy'
|
|
inputs:
|
|
script: |
|
|
curl -so azcopy.tar.gz -L 'https://aka.ms/downloadazcopy-v10-linux'
|
|
tar -zxvf azcopy.tar.gz --strip 1
|
|
workingDirectory: $(Build.BinariesDirectory)
|
|
|
|
- task: PythonScript@0
|
|
displayName: 'Download test data'
|
|
inputs:
|
|
scriptPath: '$(Build.SourcesDirectory)/tools/ci_build/github/download_test_data.py'
|
|
arguments: --test_data_url $(TestDataUrl) --build_dir $(Build.BinariesDirectory)
|
|
pythonInterpreter: '/usr/bin/python3'
|
|
workingDirectory: $(Build.BinariesDirectory)
|
|
|