From d4135e3793cd82710ab4cfbead939b085d9b5c9f Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 6 May 2021 20:17:05 -0700 Subject: [PATCH] expand build matrix --- .gitlab-ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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"] -- 2.30.2