diff options
| author | datdenkikniet <jcdra1@gmail.com> | 2025-03-22 22:23:26 +0100 |
|---|---|---|
| committer | datdenkikniet <38322042+datdenkikniet@users.noreply.github.com> | 2025-03-23 09:57:48 +0000 |
| commit | 347bfaae025aca555b0dd80738cacee6b75d8c57 (patch) | |
| tree | 7b30bf81f438b6746b4793ce92d47658bafb4fa8 /.github/workflows/build.yml | |
| parent | cece4dfcda8288aee6a7d35c08e62d02f1bca34c (diff) | |
ci & xtask: support hifive clippy
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e780b7c..b43f136 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,7 +65,7 @@ jobs: - run: cargo xtask --deny-warnings --platform lm3s6965 --backend ${{ matrix.input.backend }} check # Clippy - # TODO: clippy hifive1, esp32-c3 + # TODO: clippy esp32-c3 clippy: name: clippy runs-on: ubuntu-22.04 @@ -73,17 +73,29 @@ jobs: matrix: input: - backend: thumbv7 + platform: lm3s6965 rustup-target: thumbv7m-none-eabi - backend: thumbv6 + platform: lm3s6965 rustup-target: thumbv6m-none-eabi - backend: thumbv8-base + platform: lm3s6965 rustup-target: thumbv8m.base-none-eabi - backend: thumbv8-main + platform: lm3s6965 rustup-target: thumbv8m.main-none-eabi + - backend: riscv32-imc-clint + platform: hifive1 + rustup-target: riscv32imc-unknown-none-elf + + - backend: riscv32-imc-mecall + platform: hifive1 + rustup-target: riscv32imc-unknown-none-elf + steps: - name: Checkout uses: actions/checkout@v4 @@ -97,7 +109,7 @@ jobs: - name: Cache Dependencies uses: Swatinem/rust-cache@v2 - - run: cargo xtask --deny-warnings --platform lm3s6965 --backend ${{ matrix.input.backend }} clippy + - run: cargo xtask --deny-warnings --platform ${{ matrix.input.platform }} --backend ${{ matrix.input.backend }} clippy # Verify all examples, checks checkexamples: @@ -184,7 +196,7 @@ jobs: - if: ${{ steps.cache-qemu.outputs.cache-hit != 'true' }} name: Download QEMU - run: wget "${{ env.QEMU_URL }}" + run: wget "${{ env.QEMU_URL }}" - if: ${{ steps.cache-qemu.outputs.cache-hit != 'true' }} name: Extract QEMU |
