This PR adds a GitHub workflow which builds co2monitor on ARMv7 (Linux), AArch64 (Linux), and AMD64 (Linux and macOS).
If the build was triggered by pushing a tag, it will interpret the tag as version, create a GitHub release, and attach/upload the build artifacts to it.
For building the ARM-based versions of co2monitor, we're using QEMU to emulate the respective machine architecture, since the Rust cross-compiling chain doesn't quite work because of the dependencies to native libraries (libusb, libudev, libhidapi).
This PR adds a GitHub workflow which builds
co2monitor
on ARMv7 (Linux), AArch64 (Linux), and AMD64 (Linux and macOS).If the build was triggered by pushing a tag, it will interpret the tag as version, create a GitHub release, and attach/upload the build artifacts to it.
For building the ARM-based versions of
co2monitor
, we're using QEMU to emulate the respective machine architecture, since the Rust cross-compiling chain doesn't quite work because of the dependencies to native libraries (libusb, libudev, libhidapi).Examples: