Files
tokio/azure-pipelines.yml
T

121 lines
2.4 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
2019-05-14 10:27:36 -07:00
2019-03-01 09:12:21 -08:00
jobs:
# Check formatting
- template: ci/azure-rustfmt.yml
parameters:
2019-09-27 12:51:45 -04:00
rust: beta
name: rustfmt
2019-03-01 09:12:21 -08:00
2019-07-26 03:47:14 +09:00
# Apply clippy lints to all crates
- template: ci/azure-clippy.yml
parameters:
2019-09-27 12:51:45 -04:00
rust: beta
2019-07-26 03:47:14 +09:00
name: clippy
2019-03-01 09:12:21 -08:00
# Test top level crate
2019-06-25 16:51:49 -04:00
- template: ci/azure-test-stable.yml
parameters:
name: test_tokio
2019-09-27 12:51:45 -04:00
rust: beta
2019-06-25 16:51:49 -04:00
displayName: Test tokio
cross: true
crates:
2019-06-30 08:48:53 -07:00
tokio:
2019-08-07 20:02:13 -07:00
- fs
- io
2019-10-26 08:02:49 -07:00
- io-util
2019-10-25 12:50:15 -07:00
- net-driver
- process
- rt-full
- signal
2019-08-07 20:02:13 -07:00
- sync
- tcp
- timer
- udp
- uds
2019-10-25 12:50:15 -07:00
tests-integration: []
2019-03-01 09:12:21 -08:00
# Test crates that are NOT platform specific
- template: ci/azure-test-stable.yml
parameters:
name: test_linux
displayName: Test sub crates -
2019-09-27 12:51:45 -04:00
rust: beta
2019-03-01 09:12:21 -08:00
crates:
2019-06-30 08:48:53 -07:00
tokio-sync:
- async-traits
tokio-macros: []
tokio-test: []
2019-10-22 10:13:49 -07:00
tokio-util: []
examples: []
2019-03-01 09:12:21 -08:00
# Test compilation failure
2019-10-28 21:40:29 -07:00
# Disable pending: https://github.com/tokio-rs/tokio/pull/1695#issuecomment-547045383
# - template: ci/azure-test-stable.yml
# parameters:
# name: test_features
# displayName: Test feature flags
# rust: beta
# crates:
# tests-build:
# # - tokio-executor
# # - executor-without-current-thread
# # - macros-invalid-input
# # - net-no-features
# # - net-with-tcp
# # - net-with-udp
# # - net-with-uds
# # - tokio-no-features
# # - tokio-with-net
# Run loom tests
- template: ci/azure-loom.yml
parameters:
2019-10-25 12:50:15 -07:00
name: loom
rust: beta
crates:
- tokio
# Try cross compiling
- template: ci/azure-cross-compile.yml
parameters:
name: cross
2019-09-27 12:51:45 -04:00
rust: beta
2019-06-24 12:34:30 -07:00
# # 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.
# #
# # Tests are not run as tests may require newer versions of
# # rust.
# - template: ci/azure-check-minrust.yml
# parameters:
# name: minrust
# rust_version: 1.34.0
#
# - template: ci/azure-tsan.yml
# parameters:
# name: tsan
2019-09-27 12:51:45 -04:00
# rust: beta
2019-08-18 14:38:55 -07:00
- template: ci/azure-deploy-docs.yml
parameters:
2019-09-27 12:51:45 -04:00
rust: beta
2019-08-18 14:38:55 -07:00
dependsOn:
- rustfmt
- clippy
- test_tokio
- test_linux
2019-10-28 21:40:29 -07:00
# - test_features
2019-10-25 12:50:15 -07:00
- loom
2019-08-18 14:38:55 -07:00
# - test_nightly
- cross
2019-08-18 14:38:55 -07:00
# - minrust
# - tsan