mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
Move Linux minimal build CI pipeline to the new Linux machine pool (#7050)
This commit is contained in:
parent
8bc275e93f
commit
701e73b5b8
2 changed files with 4 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
timeoutInMinutes: 120
|
||||
workspace:
|
||||
clean: all
|
||||
pool: Linux-CPU
|
||||
pool: Linux-CPU-2019
|
||||
|
||||
variables:
|
||||
test_data_directory: $(Build.SourcesDirectory)/.test_data
|
||||
|
|
@ -157,10 +157,12 @@ jobs:
|
|||
displayName: Build onnxruntime minimal baseline for Android arm64-v8a and report binary size
|
||||
inputs:
|
||||
script: |
|
||||
NDK_HOME=$(realpath $ANDROID_NDK_HOME)
|
||||
docker run --rm \
|
||||
--volume $(Build.SourcesDirectory):/onnxruntime_src \
|
||||
--volume $(Build.BinariesDirectory):/build \
|
||||
--volume $ANDROID_HOME:/android_home \
|
||||
--volume $NDK_HOME:/ndk_home \
|
||||
--volume $(test_data_directory):/home/onnxruntimedev/.test_data \
|
||||
-e ALLOW_RELEASED_ONNX_OPSET_ONLY=1 \
|
||||
-e NIGHTLY_BUILD \
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ python3 /onnxruntime_src/tools/ci_build/build.py \
|
|||
--parallel \
|
||||
--android \
|
||||
--android_sdk_path /android_home \
|
||||
--android_ndk_path /android_home/ndk-bundle \
|
||||
--android_ndk_path /ndk_home \
|
||||
--android_abi=arm64-v8a \
|
||||
--android_api=29 \
|
||||
--minimal_build \
|
||||
|
|
|
|||
Loading…
Reference in a new issue