Move Linux minimal build CI pipeline to the new Linux machine pool (#7050)

This commit is contained in:
Changming Sun 2021-03-18 12:09:12 -07:00 committed by GitHub
parent 8bc275e93f
commit 701e73b5b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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 \

View file

@ -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 \