mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-28 20:11:22 +00:00
### Description <!-- Describe your changes. --> ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
parameters:
|
|
- name: BuildAndroidBinaries
|
|
type: boolean
|
|
default: true
|
|
- name: BuildPythonPackages
|
|
type: boolean
|
|
default: true
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: manylinux
|
|
type: Github
|
|
endpoint: Microsoft
|
|
name: pypa/manylinux
|
|
ref: 5eda9aded5462201e6310105728d33016e637ea7
|
|
|
|
stages:
|
|
|
|
# build binaries for Android
|
|
- ${{ if parameters.BuildAndroidBinaries }}:
|
|
- stage: BuildAndroidBinaries
|
|
dependsOn: []
|
|
jobs:
|
|
- template: templates/android-java-api-aar.yml
|
|
parameters:
|
|
buildConfig: 'Release'
|
|
buildSettings: '$(Build.SourcesDirectory)/tools/ci_build/github/android/default_full_aar_build_settings.json'
|
|
artifactName: 'onnxruntime-android-full-aar'
|
|
job_name_suffix: 'Full'
|
|
publish_executables: '1'
|
|
pool_name: 'onnxruntime-Ubuntu2204-AMD-CPU'
|
|
enable_code_sign: false
|
|
|
|
# build Python packages
|
|
# Linux GPU only
|
|
- ${{ if parameters.BuildPythonPackages }}:
|
|
- template: stages/py-gpu-packaging-stage.yml
|
|
parameters:
|
|
enable_linux_gpu: true
|
|
enable_windows_gpu: false
|
|
cuda_version: 12.2
|