File tree 1 file changed +16
-4
lines changed
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -34,35 +34,47 @@ jobs:
34
34
run : cargo xtask --verbose fmt -c
35
35
36
36
# Compilation check
37
- # TODO: check hifive1, esp32-c3
37
+ # TODO: check esp32-c3
38
38
check :
39
- name : check (lm3s6965)
39
+ name : check
40
40
runs-on : ubuntu-22.04
41
41
strategy :
42
42
matrix :
43
43
input :
44
44
- backend : thumbv7
45
+ platform : lm3s6965
45
46
rustup-target : thumbv7m-none-eabi
46
47
47
48
- backend : thumbv6
49
+ platform : lm3s6965
48
50
rustup-target : thumbv6m-none-eabi
49
51
50
52
- backend : thumbv8-base
53
+ platform : lm3s6965
51
54
rustup-target : thumbv8m.base-none-eabi
52
55
53
56
- backend : thumbv8-main
57
+ platform : lm3s6965
54
58
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
55
67
steps :
56
68
- name : Checkout
57
69
uses : actions/checkout@v4
58
70
59
- - name : Configure Rust target (v6, v7, v8.b v8.m)
71
+ - name : Configure Rust target
60
72
run : rustup target add ${{ matrix.input.rustup-target }}
61
73
62
74
- name : Cache Dependencies
63
75
uses : Swatinem/rust-cache@v2
64
76
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
66
78
67
79
# Clippy
68
80
# TODO: clippy esp32-c3
You can’t perform that action at this time.
0 commit comments