Skip to content

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

Draft
KishanPRao wants to merge 4 commits into
mainfrom
chore/ci-android-emu
Draft

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

Conversation

@KishanPRao

Copy link
Copy Markdown
Collaborator

Summary

CI previously ran Node and browser jobs only, so the vendored Android native libraries were never exercised.
This adds a job that captures a real native crash on an emulator and asserts the report carries an attribute set after init.

Changes

  • .github/workflows/android.yml: emulator job on ubuntu with KVM, api 34 / x86_64, matrixed over New and Old Architecture, with the 16KB alignment check running first.
  • .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/android-native-crash.sh: installs the example, sets an attribute, triggers a native crash, asserts a minidump exists and contains that attribute.
  • 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
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.

1 participant