mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
Cherry-pick the following PRs to the release branch: Fix: Fail to skip disabledmodel in winml (#17728) Move dotnet build and test into docker in Linux CPU CI (#17417) Run Nuget_Test_Linux_GPU in container (#17452) Run Final_Jar_Testing_Linux_GPU in docker (#17533) TreeEnsemble speed up (#17449) Remove onnxruntime extensions from list of gitmodules (#17615) Include onnxruntime_float16.h in the package. (#17637) Fix static quantization for QDQ and Percentile distribution (#17649) [TensorRT EP] Back out the PerThreadContext (#17690) Update nodejs to 18.x (#17657) Update linux-wasm-ci.yml: remove the ln command (#17735)
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
parameters:
|
|
AgentPool : 'onnxruntime-Ubuntu2004-AMD-CPU'
|
|
StageName : 'Linux_CI_Dev'
|
|
RunDockerBuildArgs: '-o ubuntu20.04 -d cpu -x "--build_wheel"'
|
|
NuPackScript: ''
|
|
RunInjectedPipeline: 'false'
|
|
InjectedPipeline: ''
|
|
DockerImageTag: ''
|
|
TimeoutInMinutes: 120
|
|
# Controls whether unreleased onnx opsets are allowed. Default is set to 1
|
|
AllowReleasedOpsetOnly: '1'
|
|
|
|
jobs:
|
|
- job: ${{ parameters.StageName }}
|
|
workspace:
|
|
clean: all
|
|
timeoutInMinutes: ${{ parameters.TimeoutInMinutes }}
|
|
variables:
|
|
ALLOW_RELEASED_ONNX_OPSET_ONLY: ${{ parameters.AllowReleasedOpsetOnly }}
|
|
skipComponentGovernanceDetection: true
|
|
pool: ${{ parameters.AgentPool }}
|
|
steps:
|
|
- checkout: self
|
|
- template: run-docker-build-steps.yml
|
|
parameters:
|
|
RunDockerBuildArgs: '${{ parameters.RunDockerBuildArgs }}'
|
|
- task: PublishTestResults@2
|
|
displayName: 'Publish unit test results'
|
|
inputs:
|
|
testResultsFiles: '**/*.results.xml'
|
|
searchFolder: '$(Build.BinariesDirectory)'
|
|
testRunTitle: 'Unit Test Run'
|
|
condition: succeededOrFailed()
|
|
- ${{ if eq(parameters['RunInjectedPipeline'], 'true') }}:
|
|
- template: |
|
|
${{ parameters.InjectedPipeline }}
|
|
parameters:
|
|
DockerImageTag: ${{ parameters.DockerImageTag }}
|
|
BuildConfig: Release
|
|
- template: clean-agent-build-directory-step.yml
|