From a20c64012900bfcb4f87b98c0ee3b381383bc9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Fri, 15 Nov 2024 13:06:12 +0800 Subject: [PATCH] try to fix ' aarch64-linux-gnu-gcc: not found' --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a0133a..f0c7d5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,7 @@ jobs: - name: Build release(aarch64-unknown-linux-gnu) if: startsWith(matrix.os, 'ubuntu') run: | + apt install -y crossbuild-essential-arm64 gcc-multilib rustup target add aarch64-unknown-linux-gnu cargo build --release --target aarch64-unknown-linux-gnu --locked