diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2e869285..36b55d25 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -133,7 +133,7 @@ jobs: cargo +stable install --force --locked bindgen-cli echo "/build/tools/arm-bcm2708/arm-linux-gnueabihf/bin" >> $GITHUB_PATH echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV - echo BINDGEN_EXTRA_CLANG_ARGS='--sysroot /usr/arm-linux-gnueabihf' >> $GITHUB_ENV + echo BINDGEN_EXTRA_CLANG_ARGS='--sysroot /build/tools/arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/' >> $GITHUB_ENV echo "RUSTFLAGS=-C linker=/build/tools/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -L/build/tools/arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/sysroot/lib -L/build/tools/arm-bcm2708/arm-linux-gnueabihf/arm-linux-gnueabihf/sysroot/usr/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 echo "OPENSSL_LIB_DIR=/build/sysroot/usr/lib/arm-linux-gnueabihf" >> $GITHUB_ENV