This repository was archived by the owner on Aug 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +55
-29
lines changed Expand file tree Collapse file tree 5 files changed +55
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ trigger :
2+ - master
3+
4+ jobs :
5+ - template : ci/azure-job-test-all.yml
6+ parameters :
7+ vmImage : vs2017-win2016
8+ name : x86_64_msvc
9+ target : x86_64-pc-windows-msvc
10+ - template : ci/azure-job-test-all.yml
11+ parameters :
12+ vmImage : vs2017-win2016
13+ toolchain : nightly-x86_64-gnu
14+ name : x86_64_mingw
15+ target : x86_64-pc-windows-gnu
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ matrix:
1313 - name : " i686-unknown-linux-gnu"
1414 env : TARGET=i686-unknown-linux-gnu
1515 - name : " i686-apple-darwin"
16- env : TARGET=i686-apple-darwin NO_DOCKER=1
16+ env : TARGET=i686-apple-darwin
1717 os : osx
1818 osx_image : xcode10
1919 - name : " x86_64-apple-darwin"
20- env : TARGET=x86_64-apple-darwin NO_DOCKER=1
20+ env : TARGET=x86_64-apple-darwin
2121 os : osx
2222 osx_image : xcode10
2323 install : true
Original file line number Diff line number Diff line change 1+ parameters :
2+ toolchain : ' nightly'
3+
4+ steps :
5+ - bash : |
6+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN
7+ echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
8+ displayName: Install rust
9+ condition: ne( variables['Agent.OS'], 'Windows_NT' )
10+ env:
11+ TOOLCHAIN: ${{ parameters.toolchain }}
12+ - script : |
13+ curl -sSf -o rustup-init.exe https://win.rustup.rs
14+ rustup-init.exe -y --default-toolchain %TOOLCHAIN%
15+ echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
16+ displayName: Install rust
17+ condition: eq( variables['Agent.OS'], 'Windows_NT' )
18+ env:
19+ TOOLCHAIN: ${{ parameters.toolchain }}
20+ - script : |
21+ rustc -Vv
22+ cargo -V
23+ displayName: Query rust and cargo versions
Original file line number Diff line number Diff line change 1+ parameters :
2+ toolchain : ' nightly'
3+ vmImage : ' ubuntu-16.04'
4+ name : ' '
5+
6+ jobs :
7+ - job : ${{ parameters.name }}
8+ pool :
9+ vmImage : ${{ parameters.vmImage }}
10+ steps :
11+ - template : azure-install-rust.yml
12+ parameters :
13+ toolchain : ${{ parameters.toolchain }}
14+ - script : cargo test -vv --all --target ${{ parameters.target }}
15+ - script : cargo test -vv --all --release --target ${{ parameters.target }}
You can’t perform that action at this time.
0 commit comments