Update azure-pipelines.yml

This commit is contained in:
Jonathan Turner 2019-10-03 05:27:03 +13:00 committed by GitHub
parent f689434bbc
commit 27272d3754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,8 +5,6 @@ strategy:
matrix: matrix:
linux-nightly: linux-nightly:
image: ubuntu-16.04 image: ubuntu-16.04
commands:
- sudo apt-get -y install libxcb-composite0-dev libx11-dev
macos-nightly: macos-nightly:
image: macos-10.14 image: macos-10.14
windows-nightly: windows-nightly:
@ -18,6 +16,10 @@ pool:
steps: steps:
- bash: | - bash: |
set -e set -e
if [ -e /etc/debian_version ]
then
sudo apt-get -y install libxcb-composite0-dev libx11-dev
fi
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain` curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain`
export PATH=$HOME/.cargo/bin:$PATH export PATH=$HOME/.cargo/bin:$PATH
rustc -Vv rustc -Vv