mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Add python 3.8/3.9 support for Windows GPU and Linux ARM64 Delete jemalloc from cgmanifest.json. Add onnx node test to Nuphar pipeline. Change $ANDROID_HOME/ndk-bundle to $ANDROID_NDK_HOME. The later one is more accurate. Delete Java GPU packaging pipeline Remove test data download step in Nuget Mac OS pipeline. Because these machines are out of control and out of our network, it's hard to make it reliable and the data secure. Fix a doc problem in c-api-artifacts-package-and-publish-steps-windows.yml. It shouldn't copy C_API.md, because the file has been moved into a different branch. Delete the CI build docker file for Ubuntu cuda 9.x and Ubuntu x86 32 bits And, due to some internal restrictions, I need to rename some of the agent pools
35 lines
848 B
Bash
35 lines
848 B
Bash
#!/bin/bash
|
|
|
|
# This script will run ORT build for Android with code coverage option
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "One command line argument, the ROOT root directory, is expected"
|
|
fi
|
|
|
|
ORT_ROOT=$1
|
|
# Build and run onnxruntime using NNAPI execution provider targeting android emulator
|
|
python3 ${ORT_ROOT}/tools/ci_build/build.py \
|
|
--android \
|
|
--build_dir build_nnapi \
|
|
--android_sdk_path $ANDROID_HOME \
|
|
--android_ndk_path $ANDROID_NDK_HOME \
|
|
--android_abi=x86_64 \
|
|
--android_api=29 \
|
|
--skip_submodule_sync \
|
|
--parallel \
|
|
--use_nnapi \
|
|
--cmake_generator=Ninja \
|
|
--build_java \
|
|
--code_coverage
|
|
|
|
# Install gcovr
|
|
python3 -m pip install gcovr
|
|
|
|
# Retrieve runtime code coverage files from the emulator and analyze
|
|
python3 ${ORT_ROOT}/tools/ci_build/coverage.py \
|
|
--build_dir build_nnapi \
|
|
--android_sdk_path $ANDROID_HOME
|
|
|