forked from rust-lang/git2-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
60 lines (55 loc) · 1.19 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
trigger:
- master
jobs:
- job: rustfmt
pool:
vmImage: ubuntu-16.04
steps:
- template: ci/azure-install-rust.yml
- bash: |
set -ex
rustup component add rustfmt
cargo fmt --all -- --check
displayName: "rustfmt check"
variables:
TOOLCHAIN: stable
- job: MSRV
pool:
vmImage: ubuntu-16.04
steps:
- template: ci/azure-install-rust.yml
- script: cargo build
displayName: "Build crate"
variables:
TOOLCHAIN: 1.33.0
- job: Linux
pool:
vmImage: ubuntu-16.04
steps:
- template: ci/azure-test-all.yml
strategy:
matrix:
stable:
TOOLCHAIN: stable
beta:
TOOLCHAIN: beta
nightly:
TOOLCHAIN: nightly
- job: macOS
pool:
vmImage: macos-10.13
steps:
- template: ci/azure-test-all.yml
variables:
TOOLCHAIN: stable
- job: Windows
pool:
vmImage: vs2017-win2016
steps:
- template: ci/azure-test-all.yml
strategy:
matrix:
x86_64-msvc:
TOOLCHAIN: stable-x86_64-pc-windows-msvc
i686-msvc:
TOOLCHAIN: stable-i686-pc-windows-msvc