mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +00:00
### Description Increase python test pipeline timeout limit. So far, It's a known issue for tensortRT8.5.
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
parameters:
|
|
- name: arch
|
|
type: string
|
|
|
|
- name: device
|
|
type: string
|
|
|
|
- name: machine_pool
|
|
type: string
|
|
|
|
- name: extra_job_id
|
|
type: string
|
|
default: ''
|
|
|
|
- name: python_wheel_suffix
|
|
type: string
|
|
default: ''
|
|
|
|
jobs:
|
|
- job: Linux_Test_${{ parameters.device }}${{ parameters.extra_job_id }}_${{ parameters.arch }}
|
|
timeoutInMinutes: 360
|
|
variables:
|
|
skipComponentGovernanceDetection: true
|
|
workspace:
|
|
clean: all
|
|
pool: ${{ parameters.machine_pool }}
|
|
steps:
|
|
- task: DownloadPipelineArtifact@2
|
|
displayName: 'Download Pipeline Artifact'
|
|
inputs:
|
|
preferTriggeringPipeline: true
|
|
artifactName: 'drop-linux-${{ lower(parameters.device) }}-${{ parameters.arch }}'
|
|
targetPath: '$(Build.BinariesDirectory)/Release'
|
|
runVersion: 'latest'
|
|
buildType: specific
|
|
project: '530acbc4-21bc-487d-8cd8-348ff451d2ff'
|
|
definition: 841
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
displayName: 'Download Pipeline Artifact'
|
|
inputs:
|
|
preferTriggeringPipeline: true
|
|
artifactName: 'onnxruntime${{ parameters.python_wheel_suffix }}'
|
|
targetPath: '$(Build.BinariesDirectory)/whl'
|
|
runVersion: 'latest'
|
|
buildType: specific
|
|
project: '530acbc4-21bc-487d-8cd8-348ff451d2ff'
|
|
definition: 841
|
|
|
|
|
|
- task: Bash@3
|
|
displayName: 'Bash Script'
|
|
inputs:
|
|
targetType: filePath
|
|
filePath: tools/ci_build/github/linux/run_python_tests.sh
|
|
arguments: -d ${{ parameters.device }}
|
|
|
|
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
|
|
displayName: 'Clean Agent Directories'
|
|
condition: always()
|