use cargo cross

The problems I had using podman were resolved by realizing that ubuntu-latest
does not actually mean the latest version of Ubuntu (for now) so explicitly
stating the Ubuntu version, installing podman works fine and can build binaries
for Raspberry Pi properly.
This commit is contained in:
Johann150 2021-02-06 17:06:46 +01:00
parent cd821a32c1
commit 3089a4034a
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1
4 changed files with 14 additions and 18 deletions

2
Cross.toml Normal file
View file

@ -0,0 +1,2 @@
[target.arm-unknown-linux-gnueabihf]
image = "zenria/cross:arm-rpi-4.9.3-linux-gnueabihf"