rust/.azure-pipelines/pr.yml
Pietro Albini c50517ae85
ci: reduce all azure timeouts to 3 hours
As the infra team we decided to have an hard timeout of 3 hours on all
the jobs: while this sometimes causes spurious timeout errors it's a
great limit to prevent CI time to grow even more.
2019-05-10 09:56:46 +02:00

27 lines
579 B
YAML

#
# Azure Pipelines pull request build for Rust
#
trigger: none
pr:
- master # FIXME: really just want any branch, but want an explicit "pr" property set so it's clear
variables:
- group: caching-pr
jobs:
- job: Linux
timeoutInMinutes: 180
pool:
vmImage: ubuntu-16.04
steps:
- template: steps/linux.yml
strategy:
matrix:
x86_64-gnu-llvm-6.0:
RUST_BACKTRACE: 1
x86_64-gnu-tools: {}
# if: branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri|cargo)\b)/)
mingw-check: {}