mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +02:00
A step towards collapsing Tokio sub crates into a single `tokio` crate (#1318). The `net` implementation is now provided by the main `tokio` crate. Functionality can be opted out of by using the various net related feature flags.
19 lines
473 B
YAML
19 lines
473 B
YAML
jobs:
|
|
- job: ${{ parameters.name }}
|
|
displayName: Loom tests
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
|
|
steps:
|
|
- template: azure-install-rust.yml
|
|
parameters:
|
|
rust_version: ${{ parameters.rust }}
|
|
|
|
- ${{ each crate in parameters.crates }}:
|
|
- script: RUSTFLAGS="--cfg loom" cargo test --lib --release
|
|
env:
|
|
LOOM_MAX_PREEMPTIONS: 2
|
|
CI: 'True'
|
|
displayName: test ${{ crate }}
|
|
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
|