update Package.swift and move pipelines
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 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: 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'
|
||||
@@ -0,0 +1,14 @@
|
||||
# Specify use of a specific Xcode version.
|
||||
|
||||
parameters:
|
||||
- name: xcodeVersion
|
||||
type: string
|
||||
default: "14.3"
|
||||
|
||||
steps:
|
||||
- bash: |
|
||||
set -e -x
|
||||
XCODE_DEVELOPER_DIR="/Applications/Xcode_${{ parameters.xcodeVersion }}.app/Contents/Developer"
|
||||
sudo xcode-select --switch "${XCODE_DEVELOPER_DIR}"
|
||||
|
||||
displayName: Use Xcode ${{ parameters.xcodeVersion }}
|
||||
Reference in New Issue
Block a user