mirror of
https://github.com/Helldez/BigMoeOnEdge.git
synced 2026-10-03 03:25:42 +00:00
ci: strip the staged jniLibs ourselves - AGP skips stripping without its default NDK (#129)
This commit is contained in:
parent
ad13038ce0
commit
a0395ac510
1 changed files with 3 additions and 0 deletions
3
.github/workflows/release-apk.yml
vendored
3
.github/workflows/release-apk.yml
vendored
|
|
@ -87,6 +87,9 @@ jobs:
|
|||
cp "$src" "$JNI/$f"
|
||||
done
|
||||
cp "$NDK/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so" "$JNI/"
|
||||
# Strip here, not in AGP: the Gradle plugin silently skips stripping when its default
|
||||
# NDK is absent on the runner, and the first CI build shipped a 77 MB libllama-common.
|
||||
"$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip" --strip-unneeded "$JNI"/*.so
|
||||
|
||||
- name: Materialize signing keystore
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue