File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ pull_request :
3
+
4
+ name : Continuous integration
5
+
6
+ # Make sure CI fails on all warnings, including Clippy lints
7
+ env :
8
+ RUSTFLAGS : " -Dwarnings"
9
+
10
+ jobs :
11
+ ci :
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ rust :
16
+ - stable
17
+ device :
18
+ - stm32f334x4
19
+ - stm32f334x6
20
+ - stm32f334x8
21
+
22
+ # - stm32h742
23
+ # - stm32h743
24
+ # #- stm32h745
25
+ # #- stm32h747
26
+ # - stm32h750
27
+ # - stm32h753
28
+ # #- stm32h755
29
+ # #- stm32h757
30
+
31
+ - stm32g474
32
+ - stm32g484
33
+ features :
34
+ - log-rtt,defmt
35
+ # TODO: -log-rtt # log-rtt without defmt, more combos?
36
+ - log-itm
37
+ - log-semihost
38
+ - cordic,log-rtt,defmt
39
+
40
+ steps :
41
+ - uses : actions/checkout@v2
42
+ - uses : actions-rs/toolchain@v1
43
+ with :
44
+ profile : minimal
45
+ toolchain : ${{ matrix.rust }}
46
+ target : thumbv7em-none-eabihf
47
+ override : true
48
+
49
+ - name : Regular build
50
+ run : cargo check --features ${{ matrix.device }} --features ${{ matrix.features }}
51
+ - name : Build examples
52
+ run : cargo check --examples --features ${{ matrix.device }} --features ${{ matrix.features }}
53
+ - name : Clippy
54
+ run : cargo clippy --examples --features ${{ matrix.device }} --features ${{ matrix.features }}
You can’t perform that action at this time.
0 commit comments