diff --git a/.ci/install.yml b/.ci/install.yml index 4208cd0..b3607ea 100644 --- a/.ci/install.yml +++ b/.ci/install.yml @@ -1,18 +1,10 @@ steps: - script: | - curl -sSf -o rustup-init.exe https://win.rustup.rs - rustup-init.exe -y - echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin" choco install -y llvm - displayName: Windows Install Rust + displayName: Windows Install LLVM condition: eq( variables['Agent.OS'], 'Windows_NT' ) - script: | curl https://sh.rustup.rs -sSf | sh -s -- -y echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" displayName: macOS Install Rust condition: eq( variables['Agent.OS'], 'Darwin' ) - - script: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin" - displayName: Linux Install Rust and Dependencies - condition: eq( variables['Agent.OS'], 'Linux' ) \ No newline at end of file diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 27bb60a..b231061 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,7 +25,7 @@ pr: variables: RUST_BACKTRACE: '1' - RUST_FLAGS: '-C debug-assertions' + RUSTFLAGS: '-C debug-assertions' jobs: - job: linux @@ -46,12 +46,11 @@ jobs: CI_JOB: release PLATFORM: linux-amd64 steps: - - template: '.ci/install.yml' - template: '.ci/test.yml' - template: '.ci/release.yml' - job: macos pool: - vmImage: macos-10.13 + vmImage: macos-10.14 strategy: matrix: test: @@ -65,7 +64,7 @@ jobs: - template: '.ci/release.yml' - job: windows pool: - vmImage: vs2017-win2016 + vmImage: windows-2019 strategy: matrix: test: