mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-31 23:27:43 +00:00
### Description Move DML build job's Prefast task to a CPU machine pool which has larger memory. The current one runs out of memory in every run. ### Motivation and Context To fix the broken python packaging pipeline.
23 lines
1.1 KiB
YAML
23 lines
1.1 KiB
YAML
# component detection for component governance checks
|
|
parameters:
|
|
- name: condition
|
|
type: string
|
|
default: 'succeeded' # could be 'ci_only', 'always', 'succeeded'
|
|
|
|
steps:
|
|
- ${{ if eq(variables['System.TeamProject'], 'Lotus') }}:
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
contents: $(Build.BinariesDirectory)/*
|
|
displayName: 'Clean up build directory'
|
|
|
|
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
|
|
displayName: 'Component Detection'
|
|
condition:
|
|
or(or(and(eq('${{parameters.condition}}', 'ci_only'), and(succeeded(), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'Scheduled'))),
|
|
and(eq('${{parameters.condition}}', 'always'), always())),
|
|
and(eq('${{parameters.condition}}', 'succeeded'), succeeded()))
|
|
inputs:
|
|
# ignore dmlc-core tracker for its CI, which is not used in onnxruntime build
|
|
# ignore unit tests in emscripten. emscripten unit tests are not used in onnxruntime build
|
|
ignoreDirectories: '$(Build.SourcesDirectory)/cmake/external/emsdk/upstream/emscripten/tests'
|