mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
parameters:
|
|
AgentPool : 'Linux-CPU'
|
|
JobName : 'Linux_CI_Dev'
|
|
BuildCommand: 'tools/ci_build/github/linux/run_dockerbuild.sh -o ubuntu16.04 -d cpu -r $(Build.BinariesDirectory) -x "--use_mklml --use_tvm --build_wheel"'
|
|
DoNugetPack: 'false'
|
|
NuPackScript: ''
|
|
ArtifactName: 'drop-linux'
|
|
TimeoutInMinutes: 120
|
|
|
|
jobs:
|
|
- job: ${{ parameters.JobName }}
|
|
workspace:
|
|
clean: all
|
|
timeoutInMinutes: ${{ parameters.TimeoutInMinutes }}
|
|
pool: ${{ parameters.AgentPool }}
|
|
steps:
|
|
- template: linux-set-variables-and-download.yml
|
|
- script: ${{ parameters.BuildCommand }}
|
|
displayName: 'Command Line Script'
|
|
- ${{ if eq(parameters['DoNugetPack'], 'true') }}:
|
|
- script: |
|
|
${{ parameters.NuPackScript }}
|
|
displayName: 'Create Artifacts'
|
|
- task: PublishPipelineArtifact@0
|
|
displayName: 'Publish Pipeline Artifact'
|
|
inputs:
|
|
artifactName: ${{ parameters.ArtifactName }}
|
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
|
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
displayName: 'Component Detection'
|
|
condition: succeeded()
|
|
- template: clean-agent-build-directory-step.yml
|