Update azure-pipelines.yml

This commit is contained in:
Jonathan Turner 2019-10-03 04:55:29 +13:00 committed by GitHub
parent ce771903e5
commit 03728c1868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ steps:
set -e
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain`
export PATH=$HOME/.cargo/bin:$PATH
apt-get -y install libxcb-composite0-dev libx11-dev
sudo apt-get -y install libxcb-composite0-dev libx11-dev
rustc -Vv
echo "##vso[task.prependpath]$HOME/.cargo/bin"
rustup component add rustfmt --toolchain `cat rust-toolchain`