mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00

#993 introduces changes in a sub crate that other Tokio crates depend on. To make CI pass, a `[patch]` statement and `path` dependencies are used. When releasing, these must be removed. However, the commit that removes them and prepares the crates for release will not be able to pass CI. This commit adds a conditional on a special `[ci-release]` snippet in the commit message. If this exists, CI is only run with the full "patched" dependencies.
15 lines
329 B
YAML
15 lines
329 B
YAML
jobs:
|
|
- job: ${{ parameters.name }}
|
|
displayName: Min supported Rust version
|
|
pool:
|
|
vmImage: ubuntu-16.04
|
|
steps:
|
|
- template: azure-install-rust.yml
|
|
parameters:
|
|
rust_version: ${{ parameters.rust_version }}
|
|
|
|
- template: azure-patch-crates.yml
|
|
|
|
- script: cargo check --all
|
|
displayName: cargo check --all
|