How is the testing handled with the linuxArm32Hfp ...
# multiplatform
n
How is the testing handled with the linuxArm32Hfp target on a Linux host alongside other Linux targets? Only binaries can be run on the linuxX64 target which covers Unit testing but the same can't be done with the linuxArm32Hfp target on a Linux X64 host, yet Gradle test tasks exist for the target 🤔.
a
I'm using GitHub Actions, I have two related jobs: the first runs linkDebugTestLinuxArm32Hfp task, and the second uses uraimo/run-on-arch-action action to run test binaries in an emulator. You can check the setup here: https://github.com/badoo/Reaktive/blob/d534462fc7d8b815d30b98c5093204a354e4d348/.github/workflows/build.yml#L46
n
The projects using the linuxArm32Hfp target are hosted on GitLab which has its own CI system.
a
I would try to apply the same idea: to produce a test binary and to run it on an emulator
👍 1
n
Had a crazy idea. Develop a test program the runs on the linuxX64 target, which uses a Robot CLI type library that tests the linuxArm32Hfp binary (via SSH and pipes) that is running on a real ARM device (eg Rpi).