Reduce the number of jobs.

This commit is contained in:
sebcrozet 2018-05-24 18:44:26 +02:00 committed by Sébastien Crozet
parent 2fdc82306a
commit 8e542d6cc2
3 changed files with 12 additions and 14 deletions

View File

@ -6,13 +6,7 @@ rust:
- stable - stable
env: env:
- CARGO_FEATURES="" - CARGO_FEATURE_SYSTEM_NETLIB=1 CARGO_FEATURE_EXCLUDE_LAPACKE=1 CARGO_FEATURE_EXCLUDE_CBLAS=1
- CARGO_FEATURES="arbitrary"
- CARGO_FEATURES="mint"
- CARGO_FEATURES="alloc"
- CARGO_FEATURES="serde-serialize"
- CARGO_FEATURES="abomonation-serialize"
- CARGO_FEATURES="debug arbitrary mint serde-serialize abomonation-serialize"
- NO_STD=1 CARGO_FEATURES="" - NO_STD=1 CARGO_FEATURES=""
- NO_STD=1 CARGO_FEATURES="alloc" - NO_STD=1 CARGO_FEATURES="alloc"

View File

@ -1,7 +1,14 @@
#! /bin/bash #! /bin/bash
if [ -z NO_STD ]; then if [ -z NO_STD ]; then
cargo build --verbose --features "${CARGO_FEATURES}"; cargo build --verbose;
cargo build --verbose --features "arbitrary";
cargo build --verbose --features "mint";
cargo build --verbose --features "alloc";
cargo build --verbose --features "serde-serialize";
cargo build --verbose --features "abomonation-serialize";
cargo build --verbose --features "debug";
cargo build --verbose --features "debug arbitrary mint serde-serialize abomonation-serialize";
else else
cargo install xargo; cargo install xargo;
xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}"; xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}";

View File

@ -1,10 +1,7 @@
#! /bin/bash #! /bin/bash
if [ -z NO_STD ]; then if [ -z NO_STD ]; then
cargo test --verbose ${CARGO_FEATURES}; cargo test --verbose;
cargo test --verbose "debug arbitrary mint serde-serialize abomonation-serialize";
if [ -z CARGO_FEATURES ]; then cd nalgebra-lapack; cargo test --verbose;
export CARGO_FEATURE_SYSTEM_NETLIB=1 CARGO_FEATURE_EXCLUDE_LAPACKE=1 CARGO_FEATURE_EXCLUDE_CBLAS=1
cd nalgebra-lapack; cargo test --verbose;
fi
fi fi