From 27272d37544e577b944c9725a70c322da9f782df Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 3 Oct 2019 05:27:03 +1300 Subject: [PATCH] Update azure-pipelines.yml --- .azure/azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index 4a5669afb5..e1f9b93681 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -5,8 +5,6 @@ strategy: matrix: linux-nightly: image: ubuntu-16.04 - commands: - - sudo apt-get -y install libxcb-composite0-dev libx11-dev macos-nightly: image: macos-10.14 windows-nightly: @@ -18,6 +16,10 @@ pool: steps: - bash: | 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` export PATH=$HOME/.cargo/bin:$PATH rustc -Vv