forked from rustls/rustls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.azure-pipelines.yml
62 lines (59 loc) · 1.57 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
variables:
clippy_toolchain: 1.40.0
minimum_toolchain: 1.40.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: windows-2019
steps:
- template: admin/pipelines/rustup.yml
- template: admin/pipelines/cargo-steps.yml
- template: admin/pipelines/bench.yml
- job: MacOS
pool:
vmImage: macOS-10.15
steps:
- template: admin/pipelines/rustup.yml
- template: admin/pipelines/cargo-steps.yml
- template: admin/pipelines/bench.yml
- job: Linux
pool:
vmImage: ubuntu-18.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/ubuntu.yml
- 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
# Check that the minimum versions specified in Cargo.toml
# do in fact build.
- job: MinimalVersions
pool:
vmImage: ubuntu-18.04
steps:
- template: admin/pipelines/ubuntu.yml
- template: admin/pipelines/rustup.yml
parameters:
rustup_toolchain: nightly
- template: admin/pipelines/min-versions.yml