diff --git a/.github/workflows/flowzone.yml b/.github/workflows/flowzone.yml index 4a82cac7..c950ec2a 100644 --- a/.github/workflows/flowzone.yml +++ b/.github/workflows/flowzone.yml @@ -29,5 +29,6 @@ jobs: cargo_targets: | aarch64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf, + arm-unknown-linux-gnueabihf, x86_64-unknown-linux-gnu, i686-unknown-linux-gnu diff --git a/Cross.toml b/Cross.toml index 1671fe25..2a6f011f 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,4 +1,28 @@ -[build] +[target.aarch64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH" +] + +[target.armv7-unknown-linux-gnueabihf] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH" +] + +[target.arm-unknown-linux-gnueabihf] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH" +] + +[target.x86_64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH" +] + +[target.i686-unknown-linux-gnu] pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH"