2019-03-08 16:33:32 +00:00
|
|
|
variables:
|
2020-06-08 20:01:15 +00:00
|
|
|
clippy_toolchain: 1.39.0
|
|
|
|
minimum_toolchain: 1.39.0
|
2019-03-08 16:33:32 +00:00
|
|
|
|
|
|
|
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:
|
2019-06-17 19:41:09 +00:00
|
|
|
- template: admin/pipelines/rustup.yml
|
2019-03-08 16:33:32 +00:00
|
|
|
- template: admin/pipelines/cargo-steps.yml
|
2019-03-09 15:23:43 +00:00
|
|
|
- template: admin/pipelines/bench.yml
|
2019-03-08 16:33:32 +00:00
|
|
|
- job: MacOS
|
|
|
|
pool:
|
2020-04-11 09:04:34 +00:00
|
|
|
vmImage: macOS-10.15
|
2019-03-08 16:33:32 +00:00
|
|
|
steps:
|
2019-06-17 19:41:09 +00:00
|
|
|
- template: admin/pipelines/rustup.yml
|
2019-03-08 16:33:32 +00:00
|
|
|
- template: admin/pipelines/cargo-steps.yml
|
2019-03-09 15:23:43 +00:00
|
|
|
- template: admin/pipelines/bench.yml
|
2019-03-08 16:33:32 +00:00
|
|
|
- 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:
|
2019-06-17 19:41:09 +00:00
|
|
|
- template: admin/pipelines/rustup.yml
|
2019-03-08 16:33:32 +00:00
|
|
|
parameters:
|
|
|
|
rustup_toolchain: $(rustup_toolchain)
|
|
|
|
- template: admin/pipelines/cargo-steps.yml
|
2019-03-09 15:23:43 +00:00
|
|
|
- template: admin/pipelines/bench.yml
|
2019-03-10 13:54:04 +00:00
|
|
|
- template: admin/pipelines/bogo.yml
|
2019-03-09 15:38:19 +00:00
|
|
|
|
|
|
|
# Coverage build. Requires linux, and both nightly
|
|
|
|
# and stable rust toolchains
|
2019-03-09 15:23:43 +00:00
|
|
|
- job: Coverage
|
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
steps:
|
2019-06-17 19:41:09 +00:00
|
|
|
- template: admin/pipelines/rustup.yml
|
2019-03-09 15:38:19 +00:00
|
|
|
parameters:
|
|
|
|
rustup_toolchain: nightly
|
2019-03-09 15:23:43 +00:00
|
|
|
- template: admin/pipelines/coverage.yml
|
2019-05-27 17:26:31 +00:00
|
|
|
|
|
|
|
# Check that the minimum versions specified in Cargo.toml
|
|
|
|
# do in fact build.
|
2019-05-27 19:25:22 +00:00
|
|
|
- job: MinimalVersions
|
2019-05-27 17:26:31 +00:00
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
steps:
|
2019-06-17 19:41:09 +00:00
|
|
|
- template: admin/pipelines/rustup.yml
|
2019-05-27 17:26:31 +00:00
|
|
|
parameters:
|
|
|
|
rustup_toolchain: nightly
|
|
|
|
- template: admin/pipelines/min-versions.yml
|