From d9a6d95845872a672554280bf30e922128f878ed Mon Sep 17 00:00:00 2001 From: eladyn Date: Mon, 30 Dec 2024 16:43:41 +0100 Subject: [PATCH] cd: add cargo binary directory to path --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index abc82bec..6051da79 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -112,6 +112,7 @@ jobs: sudo dpkg -x libssl1.1*.deb /build/sysroot/ sudo dpkg -x libasound2-dev*.deb /build/sysroot/ cargo install --force --locked bindgen-cli + echo "$HOME/.cargo/bin" >> $GITHUB_PATH echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV echo "RUSTFLAGS=-C linker=arm-linux-gnueabihf-gcc -L/usr/arm-linux-gnueabihf/lib -L/build/sysroot/usr/lib/arm-linux-gnueabihf -L/build/sysroot/lib/arm-linux-gnueabihf" >> $GITHUB_ENV echo "C_INCLUDE_PATH=/build/sysroot/usr/include" >> $GITHUB_ENV