-
Notifications
You must be signed in to change notification settings - Fork 990
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to Windows 2019 * use macOS 10.14 and do not install Rust when not not necessary, fix rust_flags
- Loading branch information
1 parent
1609b04
commit 2f01274
Showing
2 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
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 | ||
displayName: Windows Install LLVM | ||
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 | ||
displayName: Linux Install Dependencies | ||
condition: eq( variables['Agent.OS'], 'Linux' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters