mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
This updates tests to track a fix applied in Mio. Previously, Mio incorrectly fired HUP events. This was due to Mio mapping `RDHUP` to HUP. The test is updated to correctly generate a HUP event. Additionally, HUP events will be removed from all platforms except for Linux. This is caused by the inability to reliably map kqueue events to the epoll HUP behavior.
28 lines
736 B
YAML
28 lines
736 B
YAML
jobs:
|
|
- job: ${{ parameters.name }}
|
|
displayName: ${{ parameters.displayName }}
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
steps:
|
|
- template: azure-install-rust.yml
|
|
parameters:
|
|
rust_version: stable
|
|
|
|
- script: sudo apt-get update
|
|
displayName: "apt-get update"
|
|
|
|
- script: sudo apt-get install gcc-multilib
|
|
displayName: "Install gcc-multilib"
|
|
|
|
- script: rustup target add ${{ parameters.target }}
|
|
displayName: "Add target"
|
|
|
|
# Always patch
|
|
- template: azure-patch-crates.yml
|
|
|
|
- script: cargo check --all --exclude tokio-tls --target ${{ parameters.target }}
|
|
displayName: Check source
|
|
|
|
- script: cargo check --tests --all --exclude tokio-tls --target ${{ parameters.target }}
|
|
displayName: Check tests
|