From 6d2d73d32b681c598d141e3ccb3dccc0c7e44b06 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:34:07 +0200 Subject: [PATCH] try fix riscv --- .github/workflows/publish-libaec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-libaec.yml b/.github/workflows/publish-libaec.yml index 805f31b..25ad784 100644 --- a/.github/workflows/publish-libaec.yml +++ b/.github/workflows/publish-libaec.yml @@ -41,7 +41,7 @@ jobs: target: "x86_64-unknown-linux-gnu" - platform: "ubuntu-22.04" # riscv64 - args: "--target riscv64gc-unknown-linux-gnu RUSTFLAGS='-C linker=riscv64-linux-gnu-gcc'" + args: "--target riscv64gc-unknown-linux-gnu" build-dir: "libaec-riscv64gc-unknown-linux-gnu" archive: "tar" target: "riscv64gc-unknown-linux-gnu" @@ -91,6 +91,7 @@ jobs: run: | sudo apt update sudo apt install gcc-riscv64-linux-gnu g++-riscv64-linux-gnu libc6-dev-riscv64-cross + echo "RUSTFLAGS=-C linker=riscv64-linux-gnu-gcc" >> $GITHUB_ENV if: matrix.target == 'riscv64gc-unknown-linux-gnu' - name: Setup Android NDK