From 8f1fe0ded42f2874124f886edaa35b6dca70ad08 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 12:25:29 +0900 Subject: [PATCH 01/21] Import codecov rust example from https://github.com/codecov/example-rust --- .travis.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..9c5cc5d9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: rust + +sudo: required + +rust: + - stable + +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - cmake + - gcc + - binutils-dev + - libiberty-dev + +after_success: | + wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && + tar xzf master.tar.gz && + cd kcov-master && + mkdir build && + cd build && + cmake .. && + make && + make install DESTDIR=../../kcov-build && + cd ../.. && + rm -rf kcov-master && + for file in target/debug/examplerust-*; do [ -x "${file}" ] || continue; mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && + bash <(curl -s https://codecov.io/bash) && + echo "Uploaded code coverage" From d8e1ba758f8b6cfeefa480a0760f4d0ffd2c60f2 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 12:35:09 +0900 Subject: [PATCH 02/21] Remvoe travis setting --- .travis.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9c5cc5d9..00000000 --- a/.travis.yml +++ /dev/null @@ -1,32 +0,0 @@ -language: rust - -sudo: required - -rust: - - stable - -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - cmake - - gcc - - binutils-dev - - libiberty-dev - -after_success: | - wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && - tar xzf master.tar.gz && - cd kcov-master && - mkdir build && - cd build && - cmake .. && - make && - make install DESTDIR=../../kcov-build && - cd ../.. && - rm -rf kcov-master && - for file in target/debug/examplerust-*; do [ -x "${file}" ] || continue; mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && - bash <(curl -s https://codecov.io/bash) && - echo "Uploaded code coverage" From 5e110ed6a014b6923dfc3dccb62b7ee498e6c8e5 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 12:37:27 +0900 Subject: [PATCH 03/21] Add tarpaulin setting on Azure by https://qiita.com/ubnt_intrepid/items/0d8d32ca9844d4b739d4 --- azure-pipelines.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b5f1de0c..5706db80 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,3 +1,9 @@ +resources: + containers: + - container: tarpaulin + image: xd009642/tarpaulin:latest-nightly + options: --security-opt seccomp=unconfined + jobs: - job: LinuxOpenBLAS pool: @@ -71,3 +77,20 @@ jobs: displayName: install rustup on Windows - script: cargo test -v --features=intel-mkl --no-default-features 2>&1 displayName: run test + + - job: tarpaulin + pool: + vmImage: 'ubuntu-16.04' + container: tarpaulin + steps: + - script: | + cargo tarpaulin -v --out Xml + curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov + ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ + -C "${BUILD_SOURCEVERSION:-}" \ + -P "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-}" \ + -b "${BUILD_BUILDID:-}" \ + -K -n "report name" + displayName: 'run tarpaulin' + env: + CODECOV_TOKEN: $(myCodecovToken) From 0adad6a0f337f42d8cd30c1b6b3f1480d9601246 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 12:41:54 +0900 Subject: [PATCH 04/21] Fix YAML --- azure-pipelines.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5706db80..6a0e1547 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -82,15 +82,15 @@ jobs: pool: vmImage: 'ubuntu-16.04' container: tarpaulin - steps: - - script: | - cargo tarpaulin -v --out Xml - curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov - ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ - -C "${BUILD_SOURCEVERSION:-}" \ - -P "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-}" \ - -b "${BUILD_BUILDID:-}" \ - -K -n "report name" - displayName: 'run tarpaulin' - env: - CODECOV_TOKEN: $(myCodecovToken) + steps: + - script: | + cargo tarpaulin -v --out Xml + curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov + ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ + -C "${BUILD_SOURCEVERSION:-}" \ + -P "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-}" \ + -b "${BUILD_BUILDID:-}" \ + -K -n "report name" + displayName: 'run tarpaulin' + env: + CODECOV_TOKEN: $(myCodecovToken) From dde68b09cb60d1db97a8ecd1ab75e63c04d5ab92 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 12:52:56 +0900 Subject: [PATCH 05/21] Fix YAML --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a0e1547..39443ebc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -81,7 +81,7 @@ jobs: - job: tarpaulin pool: vmImage: 'ubuntu-16.04' - container: tarpaulin + container: tarpaulin steps: - script: | cargo tarpaulin -v --out Xml From 750f2b2e552617273bd9b48cddb625bb13959704 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 12:58:36 +0900 Subject: [PATCH 06/21] Add feature for cargo-tarpaulin --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 39443ebc..e79554de 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -78,13 +78,13 @@ jobs: - script: cargo test -v --features=intel-mkl --no-default-features 2>&1 displayName: run test - - job: tarpaulin + - job: Coverage pool: vmImage: 'ubuntu-16.04' container: tarpaulin steps: - script: | - cargo tarpaulin -v --out Xml + cargo tarpaulin -v --features=intel-mkl --out Xml curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ -C "${BUILD_SOURCEVERSION:-}" \ From abb89ac767324c356d9bd07cf941521fedd56b8e Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 14:47:25 +0900 Subject: [PATCH 07/21] Use openblas-static for taking coverage --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8591e8fd..f1cfbfcf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -118,7 +118,7 @@ jobs: container: tarpaulin steps: - script: | - cargo tarpaulin -v --features=intel-mkl --out Xml + cargo tarpaulin -v --features=openblas-static --out Xml curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ -C "${BUILD_SOURCEVERSION:-}" \ From bd92339e6124904661596207c4d314ca429e8807 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 15:00:45 +0900 Subject: [PATCH 08/21] apt install gfortran on coverage run (OpenBLAS dependency) --- azure-pipelines.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f1cfbfcf..e680bf7d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -117,14 +117,18 @@ jobs: vmImage: 'ubuntu-16.04' container: tarpaulin steps: - - script: | - cargo tarpaulin -v --features=openblas-static --out Xml - curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov - ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ - -C "${BUILD_SOURCEVERSION:-}" \ - -P "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-}" \ - -b "${BUILD_BUILDID:-}" \ - -K -n "report name" - displayName: 'run tarpaulin' - env: - CODECOV_TOKEN: $(myCodecovToken) + - script: | + sudo apt-get update + sudo apt-get install -y gfortran + displayName: apt install + - script: | + cargo tarpaulin -v --features=openblas-static --out Xml + curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov + ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ + -C "${BUILD_SOURCEVERSION:-}" \ + -P "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-}" \ + -b "${BUILD_BUILDID:-}" \ + -K -n "report name" + displayName: 'run tarpaulin' + env: + CODECOV_TOKEN: $(myCodecovToken) From 60169cbede8d324a72fd54ceae27ed0630fa3679 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 15:27:20 +0900 Subject: [PATCH 09/21] Remove sudo --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 09b36091..1b29ad78 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -101,8 +101,8 @@ jobs: container: tarpaulin steps: - script: | - sudo apt-get update - sudo apt-get install -y gfortran + apt-get update + apt-get install -y gfortran displayName: apt install - script: | cargo tarpaulin -v --features=openblas-static --out Xml From cda26d961262e5cc0042250be9ac546f61c726ec Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 15 Jun 2019 17:07:09 +0900 Subject: [PATCH 10/21] Merge script sections --- azure-pipelines.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1b29ad78..6e57c585 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -101,10 +101,8 @@ jobs: container: tarpaulin steps: - script: | - apt-get update - apt-get install -y gfortran - displayName: apt install - - script: | + apt update + apt install -y gfortran cargo tarpaulin -v --features=openblas-static --out Xml curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ From 0680755a6ea02d9d1f114f52559060a62ce1c7af Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sun, 16 Jun 2019 03:36:30 +0900 Subject: [PATCH 11/21] Docker image for tarpaulin --- ci/Dockerfile | 12 ++++++++++++ ci/Makefile | 14 ++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 ci/Dockerfile create mode 100644 ci/Makefile diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 00000000..c47fa30a --- /dev/null +++ b/ci/Dockerfile @@ -0,0 +1,12 @@ +FROM rust:1.35 + +RUN apt-get update \ + && apt-get install -y \ + cmake \ + gfortran \ + libssl-dev \ + pkg-config \ + zlib1g-dev \ + && rm -rf /var/lib/apt/lists/* + +RUN cargo install cargo-tarpaulin diff --git a/ci/Makefile b/ci/Makefile new file mode 100644 index 00000000..94f5acc2 --- /dev/null +++ b/ci/Makefile @@ -0,0 +1,14 @@ + +rust_version := 1.35 +registory := termoshtt/tarpaulin + +all: build + +login: + docker login + +build: + docker build . -t $(registory):$(rust_version) + +push: login + docker push $(registory):$(rust_version) From 963c4dcde1c182e6fdeab22215aadd5411f2c21c Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sun, 16 Jun 2019 03:37:02 +0900 Subject: [PATCH 12/21] Use image with gfortran --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6e57c585..bf0aecda 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,7 @@ resources: containers: - container: tarpaulin - image: xd009642/tarpaulin:latest-nightly + image: termoshtt/tarpaulin:1.35 options: --security-opt seccomp=unconfined jobs: @@ -101,8 +101,6 @@ jobs: container: tarpaulin steps: - script: | - apt update - apt install -y gfortran cargo tarpaulin -v --features=openblas-static --out Xml curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ From ff3a6c6363fe37e964c44188694b0bd5341f1e09 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sun, 16 Jun 2019 03:47:55 +0900 Subject: [PATCH 13/21] Use rust:nightly --- azure-pipelines.yml | 2 +- ci/Dockerfile | 2 +- ci/Makefile | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bf0aecda..f99a6fe0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,7 @@ resources: containers: - container: tarpaulin - image: termoshtt/tarpaulin:1.35 + image: termoshtt/tarpaulin:nightly options: --security-opt seccomp=unconfined jobs: diff --git a/ci/Dockerfile b/ci/Dockerfile index c47fa30a..6f5d2905 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.35 +FROM rustlang/rust:nightly RUN apt-get update \ && apt-get install -y \ diff --git a/ci/Makefile b/ci/Makefile index 94f5acc2..ae7c799c 100644 --- a/ci/Makefile +++ b/ci/Makefile @@ -1,5 +1,4 @@ -rust_version := 1.35 registory := termoshtt/tarpaulin all: build @@ -8,7 +7,7 @@ login: docker login build: - docker build . -t $(registory):$(rust_version) + docker build . -t $(registory) push: login - docker push $(registory):$(rust_version) + docker push $(registory) From d06ba92841b0a45b5d40d95a37db24a86b66fe4f Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sun, 16 Jun 2019 03:50:14 +0900 Subject: [PATCH 14/21] Fix docker tag --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f99a6fe0..a24de9f1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,7 @@ resources: containers: - container: tarpaulin - image: termoshtt/tarpaulin:nightly + image: termoshtt/tarpaulin options: --security-opt seccomp=unconfined jobs: From c6dca0f2b71637b6c86163b7aa500f1075bbb144 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sun, 16 Jun 2019 03:59:01 +0900 Subject: [PATCH 15/21] Use xd009642/tarpaulin image --- ci/Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 6f5d2905..74d215d3 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -1,12 +1,7 @@ -FROM rustlang/rust:nightly +FROM xd009642/tarpaulin:latest-nightly RUN apt-get update \ && apt-get install -y \ - cmake \ gfortran \ - libssl-dev \ - pkg-config \ - zlib1g-dev \ && rm -rf /var/lib/apt/lists/* -RUN cargo install cargo-tarpaulin From 059678ff6291c91fe797383bc41523ff4a9f6440 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 25 Jun 2019 15:38:10 +0900 Subject: [PATCH 16/21] Add extern crate --- Cargo.toml | 3 +-- src/lib.rs | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 486f44f4..e320324c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ netlib = ["lapack-src/netlib", "blas-src/netlib"] openblas = ["lapack-src/openblas", "blas-src/openblas"] serde-1 = ["ndarray/serde-1", "num-complex/serde"] -openblas-static = ["openblas", "openblas-src"] +openblas-static = ["openblas", "openblas-src/static"] [dependencies] lapacke = "0.2" @@ -44,5 +44,4 @@ default-features = false [dependencies.openblas-src] version = "0.6" default-features = false -features = ["static"] optional = true diff --git a/src/lib.rs b/src/lib.rs index 834c6f26..7c654403 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,6 +36,9 @@ //! - [Random matrix generators](generate/index.html) //! - [Scalar trait](types/trait.Scalar.html) +#[cfg(features = "openblas")] +extern crate openblas_src; + extern crate blas_src; extern crate lapack_src; From 697df7d5c9f3c63f89c499d02a4a04de55329849 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 25 Jun 2019 15:58:21 +0900 Subject: [PATCH 17/21] Install tarpaulin --- azure-pipelines.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a24de9f1..18dd03bf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,9 +1,3 @@ -resources: - containers: - - container: tarpaulin - image: termoshtt/tarpaulin - options: --security-opt seccomp=unconfined - jobs: - job: LinuxOpenBLAS pool: @@ -98,8 +92,19 @@ jobs: - job: Coverage pool: vmImage: 'ubuntu-16.04' - container: tarpaulin steps: + - script: | + curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" + displayName: install rustup + - script: | + sudo apt-get update + sudo apt-get install -y gfortran libssl-dev pkg-config cmake zlib1g-dev + displayName: apt install + - script: | + cargo install cargo-tarpaulin -f + cargo tarpaulin -v + displayName: install tarpauling - script: | cargo tarpaulin -v --features=openblas-static --out Xml curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov @@ -108,6 +113,6 @@ jobs: -P "${SYSTEM_PULLREQUEST_PULLREQUESTNUMBER:-}" \ -b "${BUILD_BUILDID:-}" \ -K -n "report name" - displayName: 'run tarpaulin' + displayName: run tarpaulin env: CODECOV_TOKEN: $(myCodecovToken) From 0a745ecad7c9872a70009d89be0075684710a728 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 25 Jun 2019 16:13:12 +0900 Subject: [PATCH 18/21] Drop version output --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 18dd03bf..7410db24 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -103,7 +103,6 @@ jobs: displayName: apt install - script: | cargo install cargo-tarpaulin -f - cargo tarpaulin -v displayName: install tarpauling - script: | cargo tarpaulin -v --features=openblas-static --out Xml From d350573868026dc830c46b0c28417b018bcf133c Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 25 Jun 2019 17:28:22 +0900 Subject: [PATCH 19/21] Use Intel MKL --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7410db24..d9e72f9c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -105,7 +105,7 @@ jobs: cargo install cargo-tarpaulin -f displayName: install tarpauling - script: | - cargo tarpaulin -v --features=openblas-static --out Xml + cargo tarpaulin --features=intel-mkl --out Xml curl -s https://codecov.io/bash -o .codecov && chmod +x .codecov ./.codecov -B "${BUILD_SOURCEBRANCHNAME:-}" \ -C "${BUILD_SOURCEVERSION:-}" \ From f3a734dfd0a5e9399394c37435c8a4885ac16ec1 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 25 Jun 2019 17:33:03 +0900 Subject: [PATCH 20/21] Remove container image --- ci/Dockerfile | 7 ------- ci/Makefile | 13 ------------- 2 files changed, 20 deletions(-) delete mode 100644 ci/Dockerfile delete mode 100644 ci/Makefile diff --git a/ci/Dockerfile b/ci/Dockerfile deleted file mode 100644 index 74d215d3..00000000 --- a/ci/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM xd009642/tarpaulin:latest-nightly - -RUN apt-get update \ - && apt-get install -y \ - gfortran \ - && rm -rf /var/lib/apt/lists/* - diff --git a/ci/Makefile b/ci/Makefile deleted file mode 100644 index ae7c799c..00000000 --- a/ci/Makefile +++ /dev/null @@ -1,13 +0,0 @@ - -registory := termoshtt/tarpaulin - -all: build - -login: - docker login - -build: - docker build . -t $(registory) - -push: login - docker push $(registory) From d647a1a2c18d4c4f6450039dbfb606ee16a8fdd3 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Tue, 25 Jun 2019 17:56:45 +0900 Subject: [PATCH 21/21] Add liblzma-dev --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d9e72f9c..600a5b2e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -99,7 +99,7 @@ jobs: displayName: install rustup - script: | sudo apt-get update - sudo apt-get install -y gfortran libssl-dev pkg-config cmake zlib1g-dev + sudo apt-get install -y gfortran libssl-dev pkg-config cmake zlib1g-dev liblzma-dev displayName: apt install - script: | cargo install cargo-tarpaulin -f