From 980a3e45dbb4234eb0724411a227e370049d7f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Fri, 22 Feb 2019 15:51:30 +0100 Subject: [PATCH] Set up CI with Azure Pipelines --- azure-pipelines.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..6c49948 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,17 @@ +pool: + vmImage: 'Ubuntu-16.04' + +steps: +- script: | + ls -la + curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $(cat rust-toolchain) + echo "##vso[task.prependpath]$HOME/.cargo/bin" + displayName: 'Install Rust' + +- script: | + rustc -Vv + cargo -V + displayName: Query rust and cargo versions + +- script : cargo build --verbose --all-features + displayName: 'Build project'