mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-02-03 20:48:30 +00:00
Set up CI with Azure Pipelines [skip ci]
This commit is contained in:
parent
e519c3f4a6
commit
e68a7d244a
21
azure-pipelines.yml
Normal file
21
azure-pipelines.yml
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user