From 43b9bdf62a115436b76007e7b933b8f592ae77a0 Mon Sep 17 00:00:00 2001 From: flxkrmr Date: Sun, 18 Feb 2024 10:00:13 +0100 Subject: [PATCH] Another compiler --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index be743ca..12aad95 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,10 +26,10 @@ jobs: target: arm-unknown-linux-musleabihf - name: Install dependencies for cross-compilation - run: sudo apt-get install -y musl-dev musl-tools + run: sudo apt-get install -y musl-dev musl-tools gcc-arm-linux-gnueabihf - name: Build binary for Raspberry Pi - run: CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-ld REALGCC=arm-linux-gnueabihf-gcc-8 TARGET_CC=musl-gcc cargo build --release --target=arm-unknown-linux-musleabihf + run: CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=arm-linux-gnueabihf-ld REALGCC=gcc-arm-linux-gnueabihf TARGET_CC=musl-gcc cargo build --release --target=arm-unknown-linux-musleabihf - name: Upload binary uses: actions/upload-artifact@v2