@@ -238,7 +238,7 @@ jobs:
238238 run : cross test --verbose --target=${{ matrix.target }} --release
239239
240240 features :
241- name : " Check cargo features (${{ matrix.simd }} × ${{ matrix.features }})"
241+ name : " Test cargo features (${{ matrix.simd }} × ${{ matrix.features }})"
242242 runs-on : ubuntu-latest
243243 strategy :
244244 fail-fast : false
@@ -249,12 +249,8 @@ jobs:
249249 features :
250250 - " "
251251 - " --features std"
252- - " --features generic_const_exprs"
253- - " --features std --features generic_const_exprs"
254252 - " --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"
258254
259255 steps :
260256 - uses : actions/checkout@v2
@@ -266,9 +262,9 @@ jobs:
266262 run : echo "CPU_FEATURE=$(lscpu | grep -o avx512[a-z]* | sed s/avx/+avx/ | tr '\n' ',' )" >> $GITHUB_ENV
267263 - name : Check build
268264 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 }}
270266 - name : Check AVX
271267 if : ${{ matrix.simd == 'avx512' && contains(env.CPU_FEATURE, 'avx512') }}
272268 run : |
273269 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