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;