File tree Expand file tree Collapse file tree 3 files changed +68
-0
lines changed Expand file tree Collapse file tree 3 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - master
3
+
4
+ jobs :
5
+ - job : Linux
6
+ pool :
7
+ vmImage : ubuntu-16.04
8
+ steps :
9
+ - template : ci/azure-steps.yml
10
+ strategy :
11
+ matrix :
12
+ aarch64-unknown-linux-gnu :
13
+ TARGET : aarch64-unknown-linux-gnu
14
+
15
+ - job : macOS
16
+ pool :
17
+ vmImage : macos-10.13
18
+ steps :
19
+ - template : ci/azure-steps.yml
20
+ strategy :
21
+ matrix :
22
+ x86_64-apple-darwin :
23
+ TARGET : x86_64-apple-darwin
24
+
25
+ - job : Windows
26
+ pool :
27
+ vmImage : ' vs2017-win2016'
28
+ steps :
29
+ - template : ci/azure-steps.yml
30
+ strategy :
31
+ matrix :
32
+ i686-pc-windows-msvc :
33
+ TARGET : i686-pc-windows-msvc
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
+
13
+ - script : |
14
+ curl -sSf -o rustup-init.exe https://win.rustup.rs
15
+ rustup-init.exe -y --default-toolchain %TOOLCHAIN%
16
+ echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
17
+ displayName: Install rust
18
+ condition: eq( variables['Agent.OS'], 'Windows_NT' )
19
+ env:
20
+ TOOLCHAIN: ${{ parameters.toolchain }}
21
+
22
+ - script : |
23
+ rustc -Vv
24
+ cargo -V
25
+ displayName: Query rust and cargo versions
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - template : azure-install-rust.yml
3
+
4
+ - bash : ./ci/run.sh $TARGET
5
+ condition : ne( variables['Agent.OS'], 'Linux' )
6
+ displayName : Run test script
7
+
8
+ - bash : ./ci/run-docker.sh $TARGET
9
+ condition : eq( variables['Agent.OS'], 'Linux' )
10
+ displayName : Run docker test script
You can’t perform that action at this time.
0 commit comments