Skip to content

Commit

Permalink
Fix CI issues (cloudflare#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrasnov authored Apr 4, 2020
1 parent 96bc927 commit 7a46d96
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@ jobs:
vmImage: 'vs2017-win2016'
continueOnError: true
steps:
- script: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
displayName: 'Install cargo'
- script: |
PATH=%PATH%;%USERPROFILE%\.cargo\bin
curl -sSf -o rustup-init.exe https://win.rustup.rs
rustup-init.exe -y --default-toolchain stable --default-host x86_64-pc-windows-msvc
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
displayName: 'Install Rust'
- script: |
cargo build --lib
displayName: 'Build library'
- script: |
PATH=%PATH%;%USERPROFILE%\.cargo\bin
cargo test --lib
displayName: 'Test library'
- job: macOS
displayName: 'macOS'
pool:
vmImage: 'macOS-10.13'
vmImage: 'macOS-10.15'
continueOnError: true
steps:
- script: |
Expand Down

0 comments on commit 7a46d96

Please sign in to comment.