File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -196,3 +196,28 @@ jobs:
196
196
- name : Test (release)
197
197
run : cross test --verbose --target=${{ matrix.target }} --release
198
198
199
+ features :
200
+ name : " Check cargo features (${{ matrix.features }} ${{ matrix.rustflags }})"
201
+ runs-on : ubuntu-latest
202
+ strategy :
203
+ fail-fast : false
204
+ matrix :
205
+ rustflags :
206
+ - " "
207
+ - " -Ctarget-feature=+avx512" # AVX-512 uses packed bit masks, so enable it to test more code paths
208
+ features :
209
+ - " "
210
+ - " --feature std"
211
+ - " --feature const_evaluatable_checked"
212
+ - " --feature std --feature const_evaluatable_checked"
213
+
214
+ steps :
215
+ - uses : actions/checkout@v2
216
+ - name : Setup Rust
217
+ run : |
218
+ rustup update nightly --no-self-update
219
+ rustup default nightly
220
+ - name : Check build
221
+ run : cargo check --all-targets --no-default-features ${{ matrix.features }}
222
+ env :
223
+ RUSTFLAGS : ${{ matrix.rustflags }}
You can’t perform that action at this time.
0 commit comments