openvinotoolkit/openvino

[Good First Issue]: Introduce testing on Android in GitHub Actions

Open

#26,991 创建于 2024年10月10日

在 GitHub 查看
 (17 评论) (1 反应) (1 负责人)C++ (3,229 fork)auto 404
github_actionsgood first issueno_stale

仓库指标

Star
 (10,286 star)
PR 合并指标
 (平均合并 14天 3小时) (30 天内合并 305 个 PR)

描述

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:

  1. Enable building of tests via ENABLE_TESTS=ON in the cmake configuration step: https://github.com/openvinotoolkit/openvino/blob/3f70084d336039e93715443699610d94065d5389/.github/workflows/android_x64.yml#L124
  2. Pack and upload build and test artefacts
  3. Add a test job that utilises an Android emulator with the build and test artefacts from the previous step
  4. Run any of the produced test binaries within the Android emulator using the ADB tool

Many Android emulators are available:

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

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

贡献者指南