beehive-lab / mambo

A low-overhead dynamic binary instrumentation and modification tool for ARM (both AArch32 and AArch64 support) and RISC-V (RV64GC).
Apache License 2.0
318 stars 69 forks source link

Add GitHub Actions to automatically build and run MAMBO for all supported architectures #123

Closed IgWod closed 3 months ago

IgWod commented 3 months ago

This pull request adds GitHub actions workflow that automatically (on every push to master, and opened and updated PR) builds MAMBO (using chroot and QEMU) on ARM32, ARM64 and RISCV64 on Ubuntu 20.04, and runs /bin/ls. I tried to enable Ubuntu 22.04 and 18.04, but had some issue with chroot, so that's something to look into in the future. Also, more extensive testing would be nice to have, but having MAMBO build and run is a good starting point.

Currently ARM32 builds fails, but it seems to be unrelated to the automation, and rather a problem with MAMBO itself.