mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-17 01:44:45 +00:00
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.
32 lines
1.1 KiB
YAML
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
|