From c8dd7838a89d54961bb05df656411b2441fc8a56 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Wed, 22 Jan 2020 10:39:31 +1300 Subject: [PATCH] Bump Pipeline images (#1255) * Bump Pipeline images * Update azure-pipelines.yml * Update azure-pipelines.yml --- .azure/azure-pipelines.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index fb58390aa..25a0b6b6e 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -4,25 +4,25 @@ trigger: strategy: matrix: linux-stable: - image: ubuntu-16.04 + image: ubuntu-18.04 style: 'unflagged' macos-stable: image: macos-10.14 style: 'unflagged' windows-stable: - image: vs2017-win2016 + image: windows-2019 style: 'unflagged' linux-nightly-canary: - image: ubuntu-16.04 + image: ubuntu-18.04 style: 'canary' macos-nightly-canary: image: macos-10.14 style: 'canary' windows-nightly-canary: - image: vs2017-win2016 + image: windows-2019 style: 'canary' fmt: - image: ubuntu-16.04 + image: ubuntu-18.04 style: 'fmt' pool: @@ -35,12 +35,14 @@ steps: 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 "stable" - export PATH=$HOME/.cargo/bin:$PATH - rustup update + if [ "$(uname)" == "Darwin" ]; then + curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable" + export PATH=$HOME/.cargo/bin:$PATH + rustup update + fi rustc -Vv echo "##vso[task.prependpath]$HOME/.cargo/bin" - rustup component add rustfmt --toolchain "stable" + rustup component add rustfmt displayName: Install Rust - bash: RUSTFLAGS="-D warnings" cargo test --all --features=stable condition: eq(variables['style'], 'unflagged')