mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 22:05:37 +01:00
ci & xtask: support hifive clippy
This commit is contained in:
parent
cece4dfcda
commit
347bfaae02
4 changed files with 75 additions and 43 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue