Merge pull request #787 from dimforge/cleanup_old_ci

Delete old CI files, we only use CircleCI now.
This commit is contained in:
Sébastien Crozet 2020-11-15 17:55:43 +01:00 committed by GitHub
commit da9260375e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 79 deletions

View File

@ -1,35 +0,0 @@
sudo: false
language: rust
rust:
- nightly
- beta
- stable
env:
-
- LAPACK=1 CARGO_FEATURE_SYSTEM_NETLIB=1 CARGO_FEATURE_EXCLUDE_LAPACKE=1 CARGO_FEATURE_EXCLUDE_CBLAS=1
- NO_STD=1 CARGO_FEATURES=""
- NO_STD=1 CARGO_FEATURES="alloc"
addons:
apt:
packages:
- gfortran
- libblas-dev
- liblapack-dev
script:
- rustc --version
- cargo --version
- ./ci/build.sh
- ./ci/test.sh
matrix:
exclude:
- rust: stable
env: NO_STD=1 CARGO_FEATURES=""
- rust: beta
env: NO_STD=1 CARGO_FEATURES=""
- rust: stable
env: NO_STD=1 CARGO_FEATURES="alloc"
- rust: beta
env: NO_STD=1 CARGO_FEATURES="alloc"

View File

@ -5,8 +5,8 @@
<a href="https://discord.gg/vt9DJSW">
<img src="https://img.shields.io/discord/507548572338880513.svg?logo=discord&colorB=7289DA">
</a>
<a href="https://travis-ci.org/dimforge/nalgebra">
<img src="https://travis-ci.org/dimforge/nalgebra.svg?branch=master" alt="Build status">
<a href="https://circleci.com/gh/dimforge/nalgebra">
<img src="https://circleci.com/gh/dimforge/nalgebra.svg?style=svg" alt="Build status">
</a>
<a href="https://crates.io/crates/nalgebra">
<img src="https://meritbadge.herokuapp.com/nalgebra?style=flat-square" alt="crates.io">

View File

@ -1,28 +0,0 @@
#! /bin/bash
set -ev
if [ -z "$NO_STD" ]; then
if [ -z "$LAPACK" ]; then
cargo build --verbose -p nalgebra;
cargo build --verbose -p nalgebra --features "arbitrary";
cargo build --verbose -p nalgebra --features "mint";
cargo build --verbose -p nalgebra --features "alloc";
cargo build --verbose -p nalgebra --features "serde-serialize";
cargo build --verbose -p nalgebra --features "abomonation-serialize";
cargo build --verbose -p nalgebra --features "debug";
cargo build --verbose -p nalgebra --all-features
else
cargo build --manifest-path nalgebra-lapack/Cargo.toml --features "netlib" --no-default-features;
fi
else
if [ "$CARGO_FEATURES" == "alloc" ]; then
cat << EOF > Xargo.toml
[target.x86_64-unknown-linux-gnu.dependencies]
alloc = {}
EOF
fi
rustup component add rust-src
cargo install xargo
xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu --features "${CARGO_FEATURES}";
fi

View File

@ -1,14 +0,0 @@
#! /bin/bash
set -ev
if [ -z "$NO_STD" ]; then
if [ -z "$LAPACK" ]; then
cargo test --verbose;
cargo test --verbose "arbitrary";
cargo test --verbose --all-features;
cd nalgebra-glm; cargo test --verbose;
else
cd nalgebra-lapack; cargo test --features "netlib" --no-default-features --verbose;
fi
fi