@@ -16,10 +16,14 @@ jobs:
16
16
- uses : actions/checkout@v2
17
17
- name : Cache Cargo Dependencies
18
18
19
- - name : Build
20
- run : cargo build --verbose
21
- - name : Run tests
22
- run : cargo test --verbose
19
+ - name : Build without default features
20
+ run : cargo build --no-default-features --verbose
21
+ - name : Run tests without default features
22
+ run : cargo test --no-default-features --verbose
23
+ - name : Build with rayon feature
24
+ run : cargo build --features rayon --verbose
25
+ - name : Run tests with rayon feature
26
+ run : cargo test --features rayon --verbose
23
27
24
28
25
29
macos :
@@ -31,10 +35,14 @@ jobs:
31
35
- uses : actions/checkout@v2
32
36
- name : Cache Cargo Dependencies
33
37
34
- - name : Build
35
- run : cargo build --verbose
36
- - name : Run tests
37
- run : cargo test --verbose
38
+ - name : Build without default features
39
+ run : cargo build --no-default-features --verbose
40
+ - name : Run tests without default features
41
+ run : cargo test --no-default-features --verbose
42
+ - name : Build with rayon feature
43
+ run : cargo build --features rayon --verbose
44
+ - name : Run tests with rayon feature
45
+ run : cargo test --features rayon --verbose
38
46
39
47
verify-msrv :
40
48
strategy :
@@ -84,12 +92,18 @@ jobs:
84
92
- name : Start Docker
85
93
run : sudo systemctl start docker
86
94
87
- - name : Cross-Compile project to powerpc-unknown-linux-gnu
88
- run : cross build --target powerpc-unknown-linux-gnu --verbose
95
+ - name : Cross-Compile project to powerpc-unknown-linux-gnu without rayon feature
96
+ run : cross build --target powerpc-unknown-linux-gnu --no-default-features -- verbose
89
97
90
98
# https://github.com/cross-rs/cross#supported-targets
91
- - name : Cross-Run Tests in powerpc-unknown-linux-gnu using Qemu
92
- run : cross test --target powerpc-unknown-linux-gnu --verbose
99
+ - name : Cross-Run Tests in powerpc-unknown-linux-gnu using Qemu without rayon feature
100
+ run : cross test --target powerpc-unknown-linux-gnu --no-default-features --verbose
101
+
102
+ - name : Cross-Compile project to powerpc-unknown-linux-gnu with rayon feature
103
+ run : cross build --target powerpc-unknown-linux-gnu --features rayon --verbose
104
+
105
+ - name : Cross-Run Tests in powerpc-unknown-linux-gnu with rayon feature using Qemu
106
+ run : cross test --target powerpc-unknown-linux-gnu --features rayon --verbose
93
107
94
108
wasm32 :
95
109
runs-on : ubuntu-latest
0 commit comments