Files
tokio/azure-pipelines.yml
T

122 lines
2.3 KiB
YAML
Raw Normal View History

trigger: ["master"]
pr: ["master"]
2019-03-01 09:12:21 -08:00
2019-05-14 10:27:36 -07:00
variables:
RUSTFLAGS: -Dwarnings
nightly: nightly-2020-05-29
2019-05-14 10:27:36 -07:00
2019-03-01 09:12:21 -08:00
jobs:
# Test top level crate
2019-06-25 16:51:49 -04:00
- template: ci/azure-test-stable.yml
parameters:
name: test_tokio
rust: stable
2019-06-25 16:51:49 -04:00
displayName: Test tokio
cross: true
crates:
- tokio
- tests-integration
2019-03-01 09:12:21 -08:00
2019-11-22 11:55:57 -08:00
# Test sub crates
2019-03-01 09:12:21 -08:00
- template: ci/azure-test-stable.yml
parameters:
name: test_linux
displayName: Test sub crates -
rust: stable
2019-03-01 09:12:21 -08:00
crates:
- tokio-macros
- tokio-test
- tokio-util
- examples
# Run integration tests
- template: ci/azure-test-integration.yml
parameters:
name: test_integration
displayName: Integration tests
rust: stable
2019-11-22 14:38:49 -08:00
# Run tests from `tests-build`. This requires a different process
- template: ci/azure-test-build.yml
parameters:
name: test_build
displayName: Test build permutations
rust: stable
# Run miri tests
- template: ci/azure-miri.yml
parameters:
name: miri
rust: $(nightly)
# Try cross compiling
- template: ci/azure-cross-compile.yml
parameters:
name: cross
rust: stable
# Check each feature works properly
- template: ci/azure-check-features.yml
parameters:
rust: $(nightly)
name: check_features
# This represents the minimum Rust version supported by
# Tokio. Updating this should be done in a dedicated PR and
# cannot be greater than two 0.x releases prior to the
# current stable.
2019-06-24 12:34:30 -07:00
#
# Tests are not run as tests may require newer versions of
# rust.
- template: ci/azure-check-minrust.yml
parameters:
name: minrust
rust: 1.39.0
2019-11-22 11:55:57 -08:00
# Check formatting
- template: ci/azure-rustfmt.yml
parameters:
rust: stable
name: rustfmt
# Apply clippy lints to all crates
- template: ci/azure-clippy.yml
parameters:
rust: stable
name: clippy
# Check doc generation
- template: ci/azure-check-docs.yml
parameters:
rust: $(nightly)
2019-11-22 11:55:57 -08:00
name: docs
2019-06-24 12:34:30 -07:00
# - template: ci/azure-tsan.yml
# parameters:
# name: tsan
# rust: stable
2019-08-18 14:38:55 -07:00
# Run loom tests
- template: ci/azure-loom.yml
parameters:
name: loom
rust: stable
2019-08-18 14:38:55 -07:00
- template: ci/azure-deploy-docs.yml
parameters:
rust: stable
2019-08-18 14:38:55 -07:00
dependsOn:
- rustfmt
- docs
2019-08-18 14:38:55 -07:00
- clippy
- test_tokio
- test_linux
- test_integration
2019-11-22 14:38:49 -08:00
- test_build
2019-10-25 12:50:15 -07:00
- loom
- miri
- cross
2019-11-22 11:55:57 -08:00
- minrust
- check_features
2019-08-18 14:38:55 -07:00
# - tsan