Skip to content

chore(ci): add Android emulator job to CI - #388

Merged
KishanPRao merged 6 commits into
mainfrom
chore/ci-android-emu
Aug 25, 2026
Merged

chore(ci): add Android emulator job to CI#388
KishanPRao merged 6 commits into
mainfrom
chore/ci-android-emu

Conversation

@KishanPRao

@KishanPRao KishanPRao commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

CI now tests the vendored Android native libraries through an emulator job that captures a real native crash, and asserts the report carries attributes set before and after init.

Changes

  • .github/workflows/android.yml: emulator job on ubuntu with KVM, api 34 x86_64, matrixed over New and Old Architecture, 16KB alignment gate first, npm/gradle/AVD caching, paths filter.
  • .github/scripts/verify-jni-symbols.sh: fails when an ABI is missing from the APK or its library lacks the JNI entry points the SDK binds.
  • .github/scripts/ci-crash-driver.js: deep-link listener appended to the example at CI time, sets a per-run marker attribute and crashes, logs an armed line.
  • .github/scripts/android-native-crash.sh: waits for the armed handshake, fires the deep link, pulls the minidump binary-safe with a size-stability check.
  • .github/scripts/check-minidump-annotations.py: asserts the marker key and value plus an init-time attribute as length-prefixed annotations, not raw strings.
  • examples/sdk/reactNative/android/app/build.gradle: opt-in btCiDebuggable so CI can read the crashpad database on a release build.

ref: BT-7515

@KishanPRao KishanPRao self-assigned this Aug 20, 2026
@KishanPRao
KishanPRao marked this pull request as ready for review August 25, 2026 14:26
@KishanPRao
KishanPRao merged commit ac7317f into main Aug 25, 2026
12 checks passed
@KishanPRao
KishanPRao deleted the chore/ci-android-emu branch August 25, 2026 14:29
@melekr
melekr self-requested a review August 25, 2026 16:58

@melekr melekr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome

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