[feat] add Android build and release workflow

This commit is contained in:
dijunkun
2026-10-01 23:27:57 +08:00
parent b05a84198a
commit b2f6bd3204
5 changed files with 202 additions and 1 deletions
+2
View File
@@ -245,3 +245,5 @@ README 的桌面图片直接由当前 Slint UI 渲染,复现方式见 [截图
## Android
原生控制端位于独立的 `apps/android` Gradle 工程,要求 Android 8.0+ arm64 设备,使用 SDK 36、NDK r28c 和 Xmake 3.1.1。构建、APK 安装与模拟器测试见 [Android 开发说明](../apps/android/README.md)。
[Android CI](../.github/workflows/build-android.yml) 可独立手动运行,并由主构建工作流调用。CI 提供 Debug / 设备测试 APK、未签名 Release APK 和 Lint 报告,执行原生协议测试及 16 KB 对齐、许可证检查;标签发布收集未签名 Release APK,安装前需要自行签名。设备测试需要另行在 arm64 手机或模拟器上执行。
+2
View File
@@ -257,3 +257,5 @@ Desktop README images are rendered directly from the current Slint UI. See the [
## Android
The native controller is a separate Gradle project in `apps/android`, targeting Android 8.0+ arm64 with SDK 36, NDK r28c, and Xmake 3.1.1. See the [Android development guide](../apps/android/README.md) for APK builds, installation, and emulator tests.
[Android CI](../.github/workflows/build-android.yml) can run manually on its own and is also called by the main build workflow. It uploads Debug/device-test APKs, an unsigned Release APK and Lint reports, runs native protocol tests, and checks 16 KB alignment and license contents. Tag releases include the unsigned Release APK, which requires your own signing before installation. Device tests must be run separately on an arm64 phone or emulator.