-
Notifications
You must be signed in to change notification settings - Fork 4
/
.azure-pipelines.yml
71 lines (67 loc) · 1.76 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
61
62
63
64
65
66
67
68
69
70
71
variables:
clippy_toolchain: 1.36.0
minimum_toolchain: 1.36.0
resources:
repositories:
- repository: templates
type: github
name: crate-ci/resources
endpoint: ctz
jobs:
- template: az-pipeline/unstable/clippy.yml@templates
parameters:
rustup_toolchain: ${{ variables.clippy_toolchain }}
- job: Windows
pool:
vmImage: vs2017-win2016
steps:
- template: admin/pipelines/rustup.yml
- template: admin/pipelines/cargo-steps.yml
- template: admin/pipelines/bench.yml
- job: MacOS
pool:
vmImage: macOS-10.13
steps:
- template: admin/pipelines/rustup.yml
- template: admin/pipelines/cargo-steps.yml
- template: admin/pipelines/bench.yml
- job: Linux
pool:
vmImage: ubuntu-16.04
strategy:
matrix:
stable:
rustup_toolchain: stable
beta:
rustup_toolchain: beta
nightly:
rustup_toolchain: nightly
minimum:
rustup_toolchain: ${{ variables.minimum_toolchain }}
steps:
- template: admin/pipelines/rustup.yml
parameters:
rustup_toolchain: $(rustup_toolchain)
- template: admin/pipelines/cargo-steps.yml
- template: admin/pipelines/bench.yml
- template: admin/pipelines/bogo.yml
# Coverage build. Requires linux, and both nightly
# and stable rust toolchains
- job: Coverage
pool:
vmImage: ubuntu-16.04
steps:
- template: admin/pipelines/rustup.yml
parameters:
rustup_toolchain: nightly
- template: admin/pipelines/coverage.yml
# Check that the minimum versions specified in Cargo.toml
# do in fact build.
- job: MinimalVersions
pool:
vmImage: ubuntu-16.04
steps:
- template: admin/pipelines/rustup.yml
parameters:
rustup_toolchain: nightly
- template: admin/pipelines/min-versions.yml