From 17ce4a59a299a9133a46398222fb81d4473e879b Mon Sep 17 00:00:00 2001 From: sebcrozet Date: Thu, 24 May 2018 18:50:36 +0200 Subject: [PATCH] CI: don't use xargo when building with std. --- ci/build.sh | 3 ++- ci/test.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index fb1a7572..2aabe905 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -1,6 +1,6 @@ #! /bin/bash -if [ -z NO_STD ]; then +if [ -z "$NO_STD" ]; then cargo build --verbose; cargo build --verbose --features "arbitrary"; cargo build --verbose --features "mint"; @@ -10,6 +10,7 @@ if [ -z NO_STD ]; then cargo build --verbose --features "debug"; cargo build --verbose --features "debug arbitrary mint serde-serialize abomonation-serialize"; else + rustup component add rust-src cargo install xargo; xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}"; fi \ No newline at end of file diff --git a/ci/test.sh b/ci/test.sh index 6b0912c2..a144136f 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -1,6 +1,6 @@ #! /bin/bash -if [ -z NO_STD ]; then +if [ -z "$NO_STD" ]; then cargo test --verbose; cargo test --verbose "debug arbitrary mint serde-serialize abomonation-serialize"; cd nalgebra-lapack; cargo test --verbose;