From e68a7d244a0b2d1cb295e6fe02c655407d4dc2d5 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Wed, 3 Apr 2019 23:20:55 -0400 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..d60bcbba --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,21 @@ +strategy: + matrix: + stable: + rustup_toolchain: stable + beta: + rustup_toolchain: beta + nightly: + rustup_toolchain: nightly + +pool: + vmImage: 'ubuntu-16.04' + +steps: + - script: | + curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUSTUP_TOOLCHAIN + echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" + displayName: Install rust + - script: cargo build --all + displayName: Cargo build + - script: cargo test --all + displayName: Cargo test \ No newline at end of file