Skip to content

Commit

Permalink
GitHub: Fix rust workflow
Browse files Browse the repository at this point in the history
Add llvm-tools first and build using aarch64-unknown-linux-gnu target.

Signed-off-by: Elliot Berman <[email protected]>
  • Loading branch information
eberman-quic committed Dec 18, 2024
1 parent 793476d commit 6b289ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: sudo apt-get install gcc-aarch64-linux-gnu && 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

0 comments on commit 6b289ee

Please sign in to comment.