Skip to content

Commit 3a87e23

Browse files
committed
Need to build aar in release branch as well
1 parent 95c1766 commit 3a87e23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/test_android_ci.sh

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ build_android_native_library() {
2222
pushd examples/demo-apps/android/LlamaDemo
2323
CMAKE_OUT="cmake-out-android-$1" ANDROID_NDK=/opt/ndk ANDROID_ABI="$1" ./gradlew setup
2424
popd
25+
cp "cmake-out-android-$1"/extension/android/*.so build_aar/jni/$1/
2526
}
2627

2728
build_android_demo_app() {
@@ -60,3 +61,4 @@ build_android_native_library x86_64
6061
export_model
6162
build_android_demo_app
6263
build_android_llama_demo_app
64+
build_aar

0 commit comments

Comments
 (0)