mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
Strategy was to - copy the old codec code that was temporarily being stashed in `tokio-io` - modify all the type signatures to use Pin, as literal a translation as possible - fix up the tests likewise This is intended just to get things compiling and passing tests. Beyond that there is surely lots of refactoring that can be done to make things more idiomatic. The docs are unchanged. Closes #1189
124 lines
2.7 KiB
YAML
124 lines
2.7 KiB
YAML
trigger: ["master", "std-future"]
|
|
pr: ["master", "std-future"]
|
|
|
|
variables:
|
|
nightly: nightly-2019-06-10
|
|
|
|
jobs:
|
|
# Check formatting
|
|
- template: ci/azure-rustfmt.yml
|
|
parameters:
|
|
rust: $(nightly)
|
|
name: rustfmt
|
|
|
|
# Test top level crate
|
|
- template: ci/azure-test-stable.yml
|
|
parameters:
|
|
name: test_tokio
|
|
rust: $(nightly)
|
|
displayName: Test tokio
|
|
cross: true
|
|
crates:
|
|
- tokio
|
|
|
|
# Test crates that are platform specific
|
|
- template: ci/azure-test-stable.yml
|
|
parameters:
|
|
name: test_sub_cross
|
|
displayName: Test sub crates (cross) -
|
|
cross: true
|
|
rust: $(nightly)
|
|
crates:
|
|
# - tokio-fs
|
|
- tokio-reactor
|
|
# - tokio-signal
|
|
- tokio-tcp
|
|
# - tokio-tls
|
|
- tokio-udp
|
|
# - tokio-uds
|
|
|
|
# Test crates that are NOT platform specific
|
|
- template: ci/azure-test-stable.yml
|
|
parameters:
|
|
name: test_linux
|
|
displayName: Test sub crates -
|
|
rust: $(nightly)
|
|
crates:
|
|
# - tokio-buf
|
|
- tokio-codec
|
|
- tokio-current-thread
|
|
- tokio-executor
|
|
- tokio-io
|
|
- tokio-macros
|
|
- tokio-sync
|
|
# - tokio-threadpool
|
|
- tokio-timer
|
|
- tokio-test
|
|
# - tokio-trace
|
|
# - tokio-trace/tokio-trace-core
|
|
# - tokio-trace/test-log-support
|
|
# - tokio-trace/test_static_max_level_features
|
|
|
|
# - template: ci/azure-cargo-check.yml
|
|
# parameters:
|
|
# name: features
|
|
# displayName: Check feature permtuations
|
|
# rust: stable
|
|
# crates:
|
|
# tokio:
|
|
# - codec
|
|
# - fs
|
|
# - io
|
|
# - reactor
|
|
# - rt-full
|
|
# - tcp
|
|
# - timer
|
|
# - udp
|
|
# - uds
|
|
# - sync
|
|
# tokio-buf:
|
|
# - util
|
|
#
|
|
# # Run async-await tests
|
|
# - template: ci/azure-test-nightly.yml
|
|
# parameters:
|
|
# name: test_nightly
|
|
# displayName: Test Async / Await
|
|
# rust: $(nightly)
|
|
#
|
|
# # Try cross compiling
|
|
# - template: ci/azure-cross-compile.yml
|
|
# parameters:
|
|
# name: cross_32bit_linux
|
|
# target: i686-unknown-linux-gnu
|
|
#
|
|
# # 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
|
|
# rust: $(nightly)
|
|
#
|
|
# - template: ci/azure-deploy-docs.yml
|
|
# parameters:
|
|
# dependsOn:
|
|
# - rustfmt
|
|
# - test_tokio
|
|
# - test_sub_cross
|
|
# - test_linux
|
|
# - features
|
|
# - test_nightly
|
|
# - cross_32bit_linux
|
|
# - minrust
|
|
# - tsan
|