Build Java bindings for Android ARMv8-A platform - #5248
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5248 +/- ##
==========================================
- Coverage 86.99% 86.99% -0.01%
==========================================
Files 1413 1413
Lines 62233 62233
Branches 7624 7625 +1
==========================================
- Hits 54141 54140 -1
- Misses 7917 7918 +1
Partials 175 175 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Benchmark ResultMaster commit hash:
|
There was a problem hiding this comment.
Pull Request Overview
This PR introduces support for building Java bindings targeting the Android ARMv8-A platform by adding Android detection logic in the Java native interface code, updating the JNI version for Android, and extending the GitHub workflows to build and deploy Android-compatible artifacts.
- Added Android OS detection in Native.java for setting the correct os_name.
- Configured JNI version selection in kuzu_java.cpp for Android and non-Android builds.
- Added new GitHub workflow jobs for building and deploying Android ARMv8-A artifacts.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/java_api/src/main/java/com/kuzudb/Native.java | Added Android detection logic to set os_name based on runtime properties. |
| tools/java_api/src/jni/kuzu_java.cpp | Updated JNI version selection based on the ANDROID flag. |
| .github/workflows/linux-java-workflow.yml | Introduced a new job for building the Android ARMv8-A Java library. |
| .github/workflows/build-and-deploy.yml | Modified to download and deploy the newly built Android artifact. |
Comments suppressed due to low confidence (1)
.github/workflows/linux-java-workflow.yml:55
- [nitpick] The job name 'build-linux-java-armv8a' might be misleading as it builds an Android artifact; consider renaming it to 'build-android-armv8a' for greater clarity.
build-linux-java-armv8a:
No description provided.