chore(ci): add Android emulator job to CI - #388
Draft
KishanPRao wants to merge 4 commits into
Draft
Conversation
…t annotation keys on failure
…d the dump on failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-inbtCiDebuggableso CI can read the crashpad database on a release build.ref: BT-7515