File tree 2 files changed +37
-22
lines changed
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
9
9
indent_style = space
10
10
indent_size = 4
11
11
trim_trailing_whitespace = true
12
+
13
+ [* .yml ]
14
+ indent_size = 2
Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
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
14
27
28
+ build_no_std :
15
29
runs-on : ubuntu-latest
16
30
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
22
36
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
28
42
29
43
30
44
# As discussed, these tasks are optional for PRs.
31
45
style_checks :
32
-
33
46
runs-on : ubuntu-latest
34
47
strategy :
35
- matrix :
36
- rust :
37
- - stable
38
-
48
+ matrix :
49
+ rust :
50
+ - stable
39
51
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