onnxruntime/tools/ci_build/github/azure-pipelines/linux-openvino-nightly-pipeline.yml
Changming Sun 6e2b064aec
Delete some unused code in run_dockerbuild.sh and Enable Nuget CUDA tests (#8089)
1. Remove some unused code and simplify tools/ci_build/github/linux/run_dockerbuild.sh.
2. Enable Nuget CUDA tests. The original design was we could leverage Directory.Build.props and let cmake generate the required properties(USE_CUDA/...) there. However, in nuget packaging pipeline we test the package on a different host that doesn't run cmake command and doesn't have the auto-generated Directory.Build.props file.
2021-06-22 18:43:33 -07:00

32 lines
1.1 KiB
YAML

jobs:
- job: Linux_OpenVINO_CI_Dev
timeoutInMinutes: 240
pool: OpenVINO
steps:
- task: CmdLine@2
displayName: 'Clean untagged docker images'
inputs:
script: |
docker rm $(docker ps -a | grep Exited | awk '{print $1;}') || true
docker images -q --filter "dangling=true" | xargs -n1 -r docker rmi
workingDirectory: $(Build.BinariesDirectory)
continueOnError: true
condition: always()
- task: PythonScript@0
displayName: 'Unzip test data'
inputs:
scriptPath: '$(Build.SourcesDirectory)/tools/ci_build/github/download_test_data.py'
arguments: --build_dir $(Build.BinariesDirectory) --edge_device
pythonInterpreter: '/usr/bin/python3'
workingDirectory: $(Build.BinariesDirectory)
- template: templates/run-docker-build-steps.yml
parameters:
RunDockerBuildArgs: '-o ubuntu20.04 -d openvino -v 2020.2 -x "--use_openvino GPU_FP32 --build_wheel"'
- template: templates/component-governance-component-detection-steps.yml
parameters :
condition : 'ci_only'
- template: templates/clean-agent-build-directory-step.yml