mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
### Description 1. Avoid taking dependency on dl.fedoraproject.org The website is not very stable. Our build pipelines often fail to fetch packages from there. 2. Update manylinux to the latest version
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
parameters:
|
|
- name: DoBuildWithDebugInfo
|
|
displayName: Create additional build with debug information?
|
|
type: boolean
|
|
default: false
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: manylinux
|
|
type: Github
|
|
endpoint: Microsoft
|
|
name: pypa/manylinux
|
|
ref: 5eda9aded5462201e6310105728d33016e637ea7
|
|
|
|
stages:
|
|
|
|
# checks enabled in all builds
|
|
|
|
- template: templates/android-binary-size-check-stage.yml
|
|
parameters:
|
|
Name: MinimalBaseline
|
|
BuildConfigFile: "tools/ci_build/github/linux/ort_minimal/build_check_binsize_config/android_minimal_baseline.config"
|
|
BinarySizeThresholdInBytes: 1306224
|
|
DoBuildWithDebugInfo: ${{ parameters.DoBuildWithDebugInfo }}
|
|
|
|
# checks excluded from PR builds
|
|
|
|
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
|
- template: templates/android-binary-size-check-stage.yml
|
|
parameters:
|
|
Name: MinimalWithMobilePackageOps
|
|
BuildConfigFile: "tools/ci_build/github/linux/ort_minimal/build_check_binsize_config/android_minimal_with_mobile_package_ops.config"
|
|
DoBuildWithDebugInfo: ${{ parameters.DoBuildWithDebugInfo }}
|