File tree 2 files changed +57
-15
lines changed
2 files changed +57
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+
9
+ env :
10
+ RUST_BACKTRACE : 1
11
+
12
+ jobs :
13
+ build :
14
+ name : ${{ matrix.name }}
15
+ runs-on : ubuntu-latest
16
+
17
+ # The build matrix does not yet support 'allow failures' at job level.
18
+ # See `jobs.nightly` for the active nightly job definition.
19
+ strategy :
20
+ matrix :
21
+ rust :
22
+ - 1.36.0
23
+ - stable
24
+ - nightly
25
+ include :
26
+ - rust : nightly
27
+ args : --all-features
28
+
29
+ steps :
30
+ - name : Checkout
31
+ uses : actions/checkout@v1
32
+
33
+ - name : Install rust
34
+ uses : actions-rs/toolchain@v1
35
+ with :
36
+ toolchain : ${{ matrix.rust || 'stable' }}
37
+ profile : minimal
38
+ override : true
39
+
40
+ - name : Build
41
+ uses : actions-rs/cargo@v1
42
+ with :
43
+ command : build
44
+ args : --verbose ${{ matrix.args }}
45
+
46
+ - name : Test
47
+ uses : actions-rs/cargo@v1
48
+ with :
49
+ command : test
50
+ args : --verbose ${{ matrix.args }}
51
+
52
+ - name : Bench
53
+ uses : actions-rs/cargo@v1
54
+ with :
55
+ command : bench
56
+ args : --verbose --no-run ${{ matrix.args }}
57
+ if : matrix.rust == 'nightly'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments