Update azure-pipelines.yml

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

View File

@ -5,6 +5,8 @@ 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,7 +20,6 @@ steps:
set -e set -e
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
sudo apt-get -y install libxcb-composite0-dev libx11-dev
rustc -Vv rustc -Vv
echo "##vso[task.prependpath]$HOME/.cargo/bin" echo "##vso[task.prependpath]$HOME/.cargo/bin"
rustup component add rustfmt --toolchain `cat rust-toolchain` rustup component add rustfmt --toolchain `cat rust-toolchain`