File tree 3 files changed +57
-45
lines changed
3 files changed +57
-45
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ default-features :
14
+ strategy :
15
+ matrix :
16
+ rust : ["stable", "beta", "nightly"]
17
+ os : [windows-latest, ubuntu-latest]
18
+
19
+ runs-on : ${{ matrix.os }}
20
+
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+
24
+ - name : Install rust toolchain
25
+ uses : actions-rs/toolchain@v1
26
+ with :
27
+ profile : minimal
28
+ toolchain : ${{ matrix.rust }}
29
+ override : true
30
+
31
+ - name : Run tests
32
+ run : cargo test
33
+
34
+ - name : Run test-project tests
35
+ run : cd test-project && cargo test
36
+
37
+
38
+ rustc-nightly-feature :
39
+ strategy :
40
+ matrix :
41
+ os : [windows-latest, ubuntu-latest]
42
+
43
+ runs-on : ${{ matrix.os }}
44
+
45
+ steps :
46
+ - uses : actions/checkout@v2
47
+
48
+ - name : Install rust toolchain
49
+ uses : actions-rs/toolchain@v1
50
+ with :
51
+ profile : minimal
52
+ toolchain : nightly
53
+ override : true
54
+
55
+ - name : Run test-project tests with `rustc` feature
56
+ run : cd test-project && cargo test --features rustc
57
+
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments