2019-10-19 11:09:40 -07:00
|
|
|
jobs:
|
2019-10-25 12:50:15 -07:00
|
|
|
- job: ${{ parameters.name }}
|
2019-10-19 11:09:40 -07:00
|
|
|
displayName: Loom tests
|
2020-03-05 10:31:37 -08:00
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
rest:
|
|
|
|
|
scope: --skip loom_pool
|
|
|
|
|
pool_group_a:
|
|
|
|
|
scope: loom_pool::group_a
|
|
|
|
|
pool_group_b:
|
|
|
|
|
scope: loom_pool::group_b
|
|
|
|
|
pool_group_c:
|
|
|
|
|
scope: loom_pool::group_c
|
|
|
|
|
pool_group_d:
|
|
|
|
|
scope: loom_pool::group_d
|
2019-10-19 11:09:40 -07:00
|
|
|
pool:
|
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- template: azure-install-rust.yml
|
|
|
|
|
parameters:
|
|
|
|
|
rust_version: ${{ parameters.rust }}
|
|
|
|
|
|
2020-05-03 12:35:47 -07:00
|
|
|
- script: RUSTFLAGS="--cfg loom --cfg tokio_unstable" cargo test --lib --release --features "full" -- --nocapture $(scope)
|
2020-03-05 10:31:37 -08:00
|
|
|
env:
|
|
|
|
|
LOOM_MAX_PREEMPTIONS: 2
|
|
|
|
|
CI: 'True'
|
|
|
|
|
displayName: $(scope)
|
|
|
|
|
workingDirectory: $(Build.SourcesDirectory)/tokio
|