Package the Android build as an installable APK
The arm64 job stopped at the three shared libraries, so the only way to use them was to build a player around them. Let the libraries go into mpv-android's jniLibs and let Gradle assemble and sign the app instead. - copy libmpv.so, libjoc_core.so and libc++_shared.so into app/src/main/jniLibs/arm64-v8a - locate the SDK under buildscripts/sdk, accept its licences, and link the unpacked NDK where AGP looks for it - run assembleRelease with a throwaway injected signing key, so the APK installs without repository secrets - verify the signature when apksigner is available and upload the APK as mpv-joc-android-arm64-v8a-apk, keeping the bare libraries as before - cache the Gradle home between runs - document the artifact and how to pass the ad_joc options Checked locally: the workflow parses and every shell block passes bash -n; the Gradle build itself needs a CI run.
This commit is contained in:
1 parent
ecf14d8c32
commit
c45808135d
3 files changed
+118
-3
Reference in new issue
Block a user