Workflow CI/CD
Diverifikasi langsung terhadap commit Auriya 10fe7c6b56474a00513fec34ebac1376b30e95e6.
Daftar Workflow
Section titled “Daftar Workflow”| File | Pemicu (Trigger) |
|---|---|
.github/workflows/build.yml |
workflow_dispatch (manual saja). |
.github/workflows/release.yml |
Push tag yang cocok dengan v*, atau workflow_dispatch. |
Aksi Komposit Bersama (Shared Composite Actions)
Section titled “Aksi Komposit Bersama (Shared Composite Actions)”setup-tools
Section titled “setup-tools”Menyiapkan toolchain secara otomatis (sumber):
- Java 26 via Temurin.
- Android NDK r29 ditambahkan ke
PATH. - Rust nightly dengan target
aarch64-linux-androiddan komponenrust-src. - Instalasi
cargo-ndk,p7zip-full, danzstd.
package-module
Section titled “package-module”Membangun file ZIP modul Magisk/KSU (sumber):
- Menyiapkan staging
build/release/module. - Menyalin skrip modul,
settings.toml, dangamelist.toml. - Mengemas APK manajer dan service ke
libs/companion/. - Mengemas binary
auriyadanauriyactlkelibs/aarch64/besertachecksums.sha256. - Memperbarui versi pada
module.propdan membuat file ZIP dengan kompresi 7-Zip maksimal (7z a -tzip -mm=Deflate -mx=9).
telegram-notify
Section titled “telegram-notify”Mengirim notifikasi progres build atau rilis dokumen ke bot Telegram (sumber).
Alur Kerja build.yml
Section titled “Alur Kerja build.yml”flowchart LR
setup["setup"]
rust["rust-binary"]
apk["android-apk"]
pkg["package"]
notify["notify"]
setup --> rust
setup --> apk
rust --> pkg
apk --> pkg
setup -.-> notify
pkg --> notify
rust-binarydanandroid-apkberjalan secara paralel setelahsetup.packagemenggabungkan binary dan APK menjadi file ZIP bertipedebug.notifymengirim hasil build ke Telegram jika variabel bot dikonfigurasi.
Alur Kerja release.yml
Section titled “Alur Kerja release.yml”flowchart LR
setup["setup"]
rust["rust-binary"]
apk["android-apk"]
pkg["package"]
rel["release"]
setup --> rust
setup --> apk
rust --> pkg
apk --> pkg
setup -.-> rel
pkg --> rel
- Mengompilasi binary dan APK bertipe
release. - Membuat GitHub Release publik dan mengunggah aset ZIP.
- Memperbarui
update.jsondenganversionCodeterbaru dan melakukan push langsung ke branchmain. - Mengirim file ZIP dan changelog rilis ke Telegram.