mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
19 lines
523 B
YAML
19 lines
523 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 --features "full" -- --test-threads=1 --nocapture
|
|
env:
|
|
LOOM_MAX_PREEMPTIONS: 1
|
|
CI: 'True'
|
|
displayName: test ${{ crate }}
|
|
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
|