File tree Expand file tree Collapse file tree 2 files changed +37
-22
lines changed Expand file tree Collapse file tree 2 files changed +37
-22
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,6 @@ insert_final_newline = true
99indent_style = space
1010indent_size = 4
1111trim_trailing_whitespace = true
12+
13+ [* .yml ]
14+ indent_size = 2
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ rust :
18+ - stable
19+ - nightly
20+ - 1.52.1 # MSVR
21+ steps :
22+ - uses : actions/checkout@v2
23+ - name : Build
24+ run : cargo build --verbose
25+ - name : Run tests
26+ run : cargo test --verbose
1427
28+ build_no_std :
1529 runs-on : ubuntu-latest
1630 strategy :
17- matrix :
18- rust :
19- - stable
20- - nightly
21- - 1.52.1 # MSVR
31+ matrix :
32+ rust :
33+ - stable
34+ - nightly
35+ - 1.52.1 # MSVR
2236 steps :
23- - uses : actions/checkout@v2
24- - name : Build
25- run : cargo build --verbose
26- - name : Run tests
27- run : cargo test --verbose
37+ - uses : actions/checkout@v2
38+ - name : " Rustup: install some no_std target "
39+ run : rustup target add thumbv7em-none-eabihf
40+ - name : Build (no_std)
41+ run : cargo build --target thumbv7em-none-eabihf
2842
2943
3044 # As discussed, these tasks are optional for PRs.
3145 style_checks :
32-
3346 runs-on : ubuntu-latest
3447 strategy :
35- matrix :
36- rust :
37- - stable
38-
48+ matrix :
49+ rust :
50+ - stable
3951 steps :
40- - uses : actions/checkout@v2
41- - name : Rustfmt
42- run : cargo fmt -- --check
43- - name : Clippy
44- run : cargo clippy
45- - name : Rustdoc
46- run : cargo doc
52+ - uses : actions/checkout@v2
53+ - name : Rustfmt
54+ run : cargo fmt -- --check
55+ - name : Clippy
56+ run : cargo clippy
57+ - name : Rustdoc
58+ run : cargo doc
You can’t perform that action at this time.
0 commit comments