Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android CI with Unit Testing #295

Merged
merged 2 commits into from
Jul 9, 2024
Merged

Android CI with Unit Testing #295

merged 2 commits into from
Jul 9, 2024

Conversation

hmelder
Copy link
Collaborator

@hmelder hmelder commented Jul 9, 2024

It turns out that the support for Android unit testing is really poor in CMake and cannot be easily integrated into our existing build system.

I opted to write two small shell scripts. One for patching and uploading the shared libraries, test binaries, and android_test_driver.sh to a running Android Emulator. android_test_driver.sh is the second script. It is directly executed on the emulator and executes all unit tests.

Future improvements:

  • Caching of emulator to speed-up testing time
  • Add more architectures

@hmelder hmelder merged commit b35505f into master Jul 9, 2024
158 checks passed
@hmelder hmelder deleted the android_ci branch July 9, 2024 16:59
hmelder added a commit that referenced this pull request Sep 8, 2024
* Add android CI scripts

* Android Test Driver: Busybox compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants