Skip to content

Commit 49dda97

Browse files
committed
ci: check for hifive1 is now also supported
1 parent a3dfd46 commit 49dda97

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,35 +34,47 @@ jobs:
3434
run: cargo xtask --verbose fmt -c
3535

3636
# Compilation check
37-
# TODO: check hifive1, esp32-c3
37+
# TODO: check esp32-c3
3838
check:
39-
name: check (lm3s6965)
39+
name: check
4040
runs-on: ubuntu-22.04
4141
strategy:
4242
matrix:
4343
input:
4444
- backend: thumbv7
45+
platform: lm3s6965
4546
rustup-target: thumbv7m-none-eabi
4647

4748
- backend: thumbv6
49+
platform: lm3s6965
4850
rustup-target: thumbv6m-none-eabi
4951

5052
- backend: thumbv8-base
53+
platform: lm3s6965
5154
rustup-target: thumbv8m.base-none-eabi
5255

5356
- backend: thumbv8-main
57+
platform: lm3s6965
5458
rustup-target: thumbv8m.main-none-eabi
59+
60+
- backend: riscv32-imc-clint
61+
platform: hifive1
62+
rustup-target: riscv32imc-unknown-none-elf
63+
64+
- backend: riscv32-imc-mecall
65+
platform: hifive1
66+
rustup-target: riscv32imc-unknown-none-elf
5567
steps:
5668
- name: Checkout
5769
uses: actions/checkout@v4
5870

59-
- name: Configure Rust target (v6, v7, v8.b v8.m)
71+
- name: Configure Rust target
6072
run: rustup target add ${{ matrix.input.rustup-target }}
6173

6274
- name: Cache Dependencies
6375
uses: Swatinem/rust-cache@v2
6476

65-
- run: cargo xtask --deny-warnings --platform lm3s6965 --backend ${{ matrix.input.backend }} check
77+
- run: cargo xtask --deny-warnings --platform ${{ matrix.input.platform }} --backend ${{ matrix.input.backend }} check
6678

6779
# Clippy
6880
# TODO: clippy esp32-c3

0 commit comments

Comments
 (0)