stage: build
image: rust:latest
script:
- - cargo build --verbose --features=fma,f16,ir
- - cargo test --verbose --features=fma,f16,ir
+ - cargo build --verbose --no-default-features --features="$FEATURES"
+ - cargo test --verbose --no-default-features --features="$FEATURES"
+ parallel:
+ matrix:
+ - FEATURES: ["", "fma,ir", "f16,ir", "fma,f16,ir"]
rust-nightly:
stage: build
image: rustlang/rust:nightly
script:
- - cargo build --verbose --features=stdsimd
- - cargo test --verbose --features=stdsimd
+ - cargo build --verbose --no-default-features --features="$FEATURES"
+ - cargo test --verbose --no-default-features --features="$FEATURES"
+ parallel:
+ matrix:
+ - FEATURES: ["stdsimd,fma,ir", "stdsimd,ir"]