Skip to content

Commit

Permalink
Pipeline step 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-hamlin committed Apr 27, 2019
1 parent ce0cdc4 commit 386731e
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 386731e

Please sign in to comment.