Skip to content

ci: add Android checks and Dex/Rust artifact builds - #130

Merged
YAWAsau merged 1 commit into
masterfrom
codex/android-ci
Sep 26, 2026
Merged

YAWAsau merged 1 commit into
masterfrom
codex/android-ci

Conversation

@YAWAsau

@YAWAsau YAWAsau commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

內容

以使用者整理後的 bc6c4c6 為基底,新增 Android Actions 與必要建置修復,整理為單一提交。

  • master push、Pull Request 及手動執行。
  • Ubuntu:UTF-8/LF、來源完整性、版本設定、Bash/mksh 語法、11 個工具 SHA。
  • Windows:JDK 17、官方 Gradle 8.2、NDK r30/API 28、Rust 1.96.0 建置 Dex 和 Android arm64 speednative。
  • 產出同一 commit 的執行包、來源快照、SHA256、建置資訊與完整日誌,保留 14 天。

修復

  • 自製 Gradle wrapper 會採用 runner 的 9.7.1 而令 AGP 8.2.2 失敗:更換官方 wrapper 並固定 distribution SHA256。
  • 版本/SHA 同步及 Rust 建置同時支援 GitHub tools/ 與 FULL_SOURCE 根目錄佈局。
  • 腳本已是 v780,集中設定及 dex_check.sh 同步至 v780;Dex/Rust applet 版號保持各自獨立。
  • 少數既有 Gradle/XML/AIDL 檔案依 .gitattributes 正規化為 LF,文字內容不變。

驗證完成

  • 使用者補交的 22 個 Rust src 檔案齊全;113 份主要 Dex/Rust 來源與本地 v780 FULL_SOURCE 相符。
  • 本機 Bash、PowerShell、sync_version -Check、版本與 11 個工具 SHA 通過。
  • 最新提交 cdd9264 的 Actions 36244441724 全部通過。
  • GitHub Linux 的 Bash/mksh 與來源檢查通過;Windows Dex/Rust 編譯、ELF/能力檢查、打包和 ZIP 實際內容 SHA 核對通過。
  • CI 產物 已上傳,含執行包、來源快照及校驗資訊。

範圍

SOURCE_SNAPSHOT 是精確 Git 快照,第三方工具使用倉庫既有預編譯檔,未冒稱為含 tar/zstd/smbclient 所有建置來源的 FULL_SOURCE。未執行手機備份/恢復測試,未自動發布 Release。

@YAWAsau
YAWAsau marked this pull request as ready for review September 26, 2026 13:19
@YAWAsau
YAWAsau merged commit e81490d into master Sep 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants