diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c23ced4..504f934 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,19 +1,12 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml - -trigger: -- master - pool: - vmImage: 'Ubuntu-16.04' + vmImage: 'ubuntu-16.04' steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' - -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + - script: | + curl https://sh.rustup.rs -sSf | sh -s -- -y + 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