File tree 3 files changed +54
-44
lines changed
3 files changed +54
-44
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ master ]
4
+ pull_request :
5
+ branches : [ master ]
6
+
7
+ name : Continuous integration
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+ CARGO_INCREMENTAL : 0
12
+
13
+ jobs :
14
+ tests :
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ include :
19
+ - rust : 1.36.0 # MSRV
20
+ features : serde
21
+ - rust : stable
22
+ features : serde
23
+ - rust : stable
24
+ features : array-sizes-33-128 array-sizes-129-255
25
+ - rust : beta
26
+ features : serde
27
+ - rust : nightly
28
+ features : serde unstable-const-fn
29
+
30
+ steps :
31
+ - uses : actions/checkout@v2
32
+ - uses : actions-rs/toolchain@v1
33
+ with :
34
+ profile : minimal
35
+ toolchain : ${{ matrix.rust }}
36
+ override : true
37
+ - name : Tests
38
+ run : |
39
+ cargo build --verbose --features "${{ matrix.features }}"
40
+ cargo doc --verbose --features "${{ matrix.features }}"
41
+ cargo test --verbose --features "${{ matrix.features }}"
42
+ cargo test --release --verbose --features "${{ matrix.features }}"
43
+ - name : Test run benchmarks
44
+ if : matrix.bench != ''
45
+ run : cargo test -v --benches
46
+
47
+ miri :
48
+ runs-on : ubuntu-latest
49
+ steps :
50
+ - uses : actions/checkout@v2
51
+ - name : Miri
52
+ run : ci/miri.sh
53
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #! /usr/ bin/env sh
1
+ #! /bin/sh
2
2
3
3
set -ex
4
4
You can’t perform that action at this time.
0 commit comments