Skip to content

ci: doc: use target matrix #369

ci: doc: use target matrix

ci: doc: use target matrix #369

Workflow file for this run

name: Clippy
on:
pull_request:
push:
branches:
main
jobs:
clippy_riscv64:
runs-on: ubuntu-latest
env:
TARGET: riscv64gc-unknown-none-elf
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v27
- name: Run clippy
run: nix develop --command sh -c "
cd riscv64_qemuvirt &&
cargo clippy --all-features --target ${{ env.TARGET }}
"
clippy_aarch64:
runs-on: ubuntu-latest
env:
TARGET: aarch64-unknown-none
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v27
- name: Run clippy
run: nix develop --command sh -c "
cd aarch64_qemuvirt &&
cargo clippy --all-features --target ${{ env.TARGET }}
"