From 2f1fcbcc5a437e85d530d9417080d52f042411f1 Mon Sep 17 00:00:00 2001 From: Elliot Berman Date: Wed, 18 Dec 2024 11:25:58 -0800 Subject: [PATCH] GitHub: Fix rust workflow Add llvm-tools first and build using aarch64-unknown-linux-gnu target. Signed-off-by: Elliot Berman --- .github/workflows/rust.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 1ebb244..059bc8f 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -10,7 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Run Clippy - run: cargo clippy --all-targets --all-features + - name: Setup build + run: rustup component add llvm-tools && rustup target add aarch64-unknown-linux-gnu + - name: Clippy + run: cargo clippy --all-targets --all-features --target aarch64-unknown-linux-gnu - name: Run Format run: cargo fmt --all -- --check