mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
21 lines
914 B
YAML
21 lines
914 B
YAML
|
steps:
|
||
|
- script: |
|
||
|
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||
|
rustup-init.exe -y
|
||
|
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
|
||
|
git apply .ci/win.patch
|
||
|
choco install -y llvm
|
||
|
displayName: Windows Install Rust
|
||
|
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
||
|
- script: |
|
||
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||
|
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
||
|
displayName: macOS Install Rust
|
||
|
condition: eq( variables['Agent.OS'], 'Darwin' )
|
||
|
- script: |
|
||
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||
|
sudo apt-get update -yqq
|
||
|
sudo apt-get install -yqq --no-install-recommends libncursesw5-dev
|
||
|
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
||
|
displayName: Linux Install Rust and Dependencies
|
||
|
condition: eq( variables['Agent.OS'], 'Linux' )
|