[Good First Issue]: Introduce testing on Android in GitHub Actions
#26.991 aperta il 10 ott 2024
Metriche repository
- Star
- (10.286 star)
- Metriche merge PR
- (Merge medio 14g 3h) (305 PR mergiate in 30 g)
Descrizione
Context
At the moment, we have two GitHub Actions workflows in which we cross-compile OpenVINO artefacts using Ubuntu 22 for Android x64 and arm64.
We would like to enable testing of the produced artefacts on an Android emulator in GitHub Actions.
What needs to be done?
The idea is to implement test jobs similarly to existing test jobs in other workflows:
- Enable building of tests via
ENABLE_TESTS=ONin the cmake configuration step: https://github.com/openvinotoolkit/openvino/blob/3f70084d336039e93715443699610d94065d5389/.github/workflows/android_x64.yml#L124 - Pack and upload build and test artefacts
- Add a test job that utilises an Android emulator with the build and test artefacts from the previous step
- Run any of the produced test binaries within the Android emulator using the ADB tool
Many Android emulators are available:
- via Docker images:
- via GitHub Actions
Note: the list is not extensive and if you find any other ways to run an Android emulator in GitHub Actions, please do not hesitate to use it.
In OpenVINO, we use pre-built Docker images for building and testing so it is recommended that you use a Docker image with an Android emulator for testing.
Refer to the OpenVINO GitHub Actions documentation for more details on the GitHub Actions setup.
Example Pull Requests
No response
Resources
- Contribution guide - start here!
- Intel DevHub Discord channel - engage in discussions, ask questions and talk to OpenVINO developers
- How to link your Pull Request to an issue
- OpenVINO GitHub Actions documentation
Contact points
If you have any questions, please contact @akashchi and @mryzhov.
If you create a Pull Request, please add @akashchi and @mryzhov as reviewers and assignees.
Ticket
149906