File tree Expand file tree Collapse file tree 2 files changed +54
-41
lines changed Expand file tree Collapse file tree 2 files changed +54
-41
lines changed Original file line number Diff line number Diff line change
1
+ on : [push, pull_request]
2
+
3
+ name : Test
4
+
5
+ jobs :
6
+ test :
7
+ name : cargo test
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ rust :
12
+ - stable
13
+ - beta
14
+ - nightly
15
+ - 1.41.0
16
+ steps :
17
+ - name : checkout
18
+ uses : actions/checkout@v2
19
+ - name : toolchain
20
+ uses : actions-rs/toolchain@v1
21
+ with :
22
+ profile : minimal
23
+ toolchain : ${{ matrix.rust }}
24
+ target : thumbv7em-none-eabi
25
+ override : true
26
+ - name : test
27
+ uses : actions-rs/cargo@v1
28
+ with :
29
+ command : test
30
+ - name : nightly
31
+ uses : actions-rs/cargo@v1
32
+ with :
33
+ command : test
34
+ args : --features nightly
35
+ - name : no-default-features
36
+ uses : actions-rs/cargo@v1
37
+ with :
38
+ command : test
39
+ args : --no-default-features
40
+ - name : std
41
+ uses : actions-rs/cargo@v1
42
+ with :
43
+ command : test
44
+ args : --no-default-features --features std
45
+ - name : std i128
46
+ uses : actions-rs/cargo@v1
47
+ with :
48
+ command : test
49
+ args : --no-default-features --features "std i128"
50
+ - name : no std build
51
+ uses : actions-rs/cargo@v1
52
+ with :
53
+ command : build
54
+ args : --no-default-features --target thumbv7em-none-eabi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments