@@ -238,7 +238,7 @@ jobs:
238
238
run : cross test --verbose --target=${{ matrix.target }} --release
239
239
240
240
features :
241
- name : " Check cargo features (${{ matrix.simd }} × ${{ matrix.features }})"
241
+ name : " Test cargo features (${{ matrix.simd }} × ${{ matrix.features }})"
242
242
runs-on : ubuntu-latest
243
243
strategy :
244
244
fail-fast : false
@@ -249,12 +249,8 @@ jobs:
249
249
features :
250
250
- " "
251
251
- " --features std"
252
- - " --features generic_const_exprs"
253
- - " --features std --features generic_const_exprs"
254
252
- " --features all_lane_counts"
255
- - " --features all_lane_counts --features std"
256
- - " --features all_lane_counts --features generic_const_exprs"
257
- - " --features all_lane_counts --features std --features generic_const_exprs"
253
+ - " --all-features"
258
254
259
255
steps :
260
256
- uses : actions/checkout@v2
@@ -266,9 +262,9 @@ jobs:
266
262
run : echo "CPU_FEATURE=$(lscpu | grep -o avx512[a-z]* | sed s/avx/+avx/ | tr '\n' ',' )" >> $GITHUB_ENV
267
263
- name : Check build
268
264
if : ${{ matrix.simd == '' }}
269
- run : RUSTFLAGS="-Dwarnings" cargo check --all-targets --no-default-features ${{ matrix.features }}
265
+ run : RUSTFLAGS="-Dwarnings" cargo test --all-targets --no-default-features ${{ matrix.features }}
270
266
- name : Check AVX
271
267
if : ${{ matrix.simd == 'avx512' && contains(env.CPU_FEATURE, 'avx512') }}
272
268
run : |
273
269
echo "Found AVX features: $CPU_FEATURE"
274
- RUSTFLAGS="-Dwarnings -Ctarget-feature=$CPU_FEATURE" cargo check --all-targets --no-default-features ${{ matrix.features }}
270
+ RUSTFLAGS="-Dwarnings -Ctarget-feature=$CPU_FEATURE" cargo test --all-targets --no-default-features ${{ matrix.features }}
0 commit comments