diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 8de18043..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,47 +0,0 @@ -version: 2.0 - -references: - rust_cfg: &rust_cfg - docker: - - image: rust:1.26.2 - -jobs: - test-openblas: - <<: *rust_cfg - steps: - - checkout - - run: - name: test OpenBLAS backend - command: | - apt update && apt install -y gfortran - cargo test --no-default-features --features=openblas - cargo test --no-default-features --features=openblas,serde-1 - - test-netlib: - <<: *rust_cfg - steps: - - checkout - - run: - name: test NetLib backend - command: | - apt update && apt install -y cmake gfortran - cargo test --no-default-features --features=netlib - cargo test --no-default-features --features=netlib,serde-1 - - test-intel-mkl: - <<: *rust_cfg - steps: - - checkout - - run: - name: test Intel MKL backend - command: | - cargo test --no-default-features --features=intel-mkl - cargo test --no-default-features --features=intel-mkl,serde-1 - -workflows: - version: 2 - tests: - jobs: - - test-openblas - - test-netlib - - test-intel-mkl diff --git a/Cargo.toml b/Cargo.toml index b2eed749..5abfac58 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ categories = ["algorithms", "science"] [features] default = [] -accelerate = ["lapack-src/accelerate", "blas-src/accelerate"] intel-mkl = ["lapack-src/intel-mkl", "blas-src/intel-mkl"] netlib = ["lapack-src/netlib", "blas-src/netlib"] openblas = ["lapack-src/openblas", "blas-src/openblas"] diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..a6b1f035 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,60 @@ +jobs: + - job: LinuxOpenBLAS + pool: + vmImage: 'ubuntu-16.04' + steps: + - script: | + curl -sSf https://sh.rustup.rs | sh -s -- -y + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" + displayName: install rustup + - script: | + sudo apt-get update + sudo apt-get install -y gfortran + displayName: apt install + - script: | + cargo test -v --features=openblas --no-default-features + cargo test -v --features=openblas,serde-1 --no-default-features + displayName: run test + + - job: LinuxNetlib + pool: + vmImage: 'ubuntu-16.04' + steps: + - script: | + curl -sSf https://sh.rustup.rs | sh -s -- -y + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" + displayName: install rustup + - script: | + sudo apt-get update + sudo apt-get install -y cmake gfortran + displayName: apt install + - script: | + cargo test -v --features=netlib --no-default-features + cargo test -v --features=netlib,serde-1 --no-default-features + displayName: run test + + - job: LinuxIntelMKL + pool: + vmImage: 'ubuntu-16.04' + steps: + - script: | + curl -sSf https://sh.rustup.rs | sh -s -- -y + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" + displayName: install rustup + - script: | + cargo test -v --features=intel-mkl --no-default-features + cargo test -v --features=intel-mkl,serde-1 --no-default-features + displayName: run test + + - job: macOSIntelMKL + pool: + vmImage: 'macOS-10.14' + steps: + - script: | + curl -sSf https://sh.rustup.rs | sh -s -- -y + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" + displayName: install rustup + - script: | + cargo test -v --features=intel-mkl --no-default-features + cargo test -v --features=intel-mkl,serde-1 --no-default-features + displayName: run test diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 2bf5ad04..00000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -stable