mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
567ed95fc2
Set up CI with Azure Pipelines
21 lines
No EOL
914 B
YAML
21 lines
No EOL
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' ) |