ci(android): build the APK+AAR on android/, src/ and crates/ changes
All checks were successful
android-ci / android (pull_request) Successful in 9m30s
All checks were successful
android-ci / android (pull_request) Successful in 9m30s
An android-only PR ran zero jobs: ci.yml's path allowlist never matches android/**, and android-release.yml is dispatch-driven. #70 merged on an empty check list. android-ci.yml runs the release's gradle targets through the release's own script (scripts/build-android-local.sh) on the amd64 runner, debug-signed, publishing nothing. Same concurrency group and runner volumes as android-release.yml so the build is warm and cannot collide with a release.
This commit is contained in:
parent
ce463e8568
commit
ef1248e730
3 changed files with 249 additions and 0 deletions
|
|
@ -114,6 +114,18 @@ The Android build runs on the **amd64** runner (the Pi is aarch64 and cannot
|
|||
produce an APK), then a second job on the Pi attaches the assets. It is the
|
||||
long pole of a release — the Linux binaries land first.
|
||||
|
||||
### Android CI (not a release)
|
||||
|
||||
`android-ci.yml` runs the same gradle targets on the same amd64 runner for every
|
||||
PR and `main` push that touches `android/`, `src/`, `crates/`, `Cargo.toml`,
|
||||
`Cargo.lock` or `scripts/build-android-local.sh`, so an android-only PR is no
|
||||
longer merged on an empty check list. It signs with the **debug** key
|
||||
(`ONIONWIRE_REQUIRE_RELEASE_KEY=false`, no keystore) and publishes nothing —
|
||||
`apksigner` in that job reports the debug cert, which is expected there and
|
||||
never in `android-release`. It shares `android-release.yml`'s concurrency group
|
||||
and volumes, so the PR build is warm (~9 min) instead of re-downloading a
|
||||
gigabyte of SDK/NDK.
|
||||
|
||||
## Rebuilding an existing tag
|
||||
|
||||
- **Both** Linux binaries: dispatch `release` with `tag=vX.Y.Z`. The tag's own
|
||||
|
|
|
|||
Loading…
Reference in a new issue