From: Jacob Lifshay Date: Fri, 7 May 2021 03:17:05 +0000 (-0700) Subject: expand build matrix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4135e3793cd82710ab4cfbead939b085d9b5c9f;p=vector-math.git expand build matrix --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5605a1c..c7adb6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,12 +5,18 @@ rust-latest: 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"]