File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
strategy :
18
18
fail-fast : false
19
19
matrix :
20
+ toolchain : [stable, beta, nightly]
21
+ features : [--all-features]
20
22
include :
21
- - toolchain : stable
22
- - toolchain : beta
23
23
- toolchain : nightly
24
-
24
+ features : --no-default-features
25
25
steps :
26
26
- name : Checkout code
27
27
uses : actions/checkout@v3
@@ -33,12 +33,12 @@ jobs:
33
33
override : true
34
34
components : clippy
35
35
36
- - name : Build with ${{ matrix.toolchain }}
36
+ - name : Build with ${{ matrix.toolchain }}, ${{ matrix.features }}
37
37
run : |
38
38
cargo +${{ matrix.toolchain }} build \
39
- --release --all- features --all-targets
39
+ --release ${{ matrix. features }} --all-targets
40
40
41
- - name : Test with ${{ matrix.toolchain }}
41
+ - name : Test with ${{ matrix.toolchain }}, ${{ matrix.features }}
42
42
run : |
43
43
if [[ "${{ matrix.toolchain }}" == 'nightly' ]]; then
44
44
export RUSTDOCFLAGS='-Zsanitizer=address'
47
47
fi
48
48
cargo +${{ matrix.toolchain }} test \
49
49
--target=x86_64-unknown-linux-gnu \
50
- --all- features
50
+ ${{ matrix. features }}
51
51
52
52
- name : Lint with ${{ matrix.toolchain }}
53
53
run : |
You can’t perform that action at this time.
0 commit comments