rust/.azure-pipelines/pr.yml

34 lines
743 B
YAML
Raw Normal View History

2019-05-06 20:15:52 +02:00
#
# Azure Pipelines pull request build for Rust
#
2019-05-06 20:15:52 +02:00
trigger: none
pr:
- master
2019-05-06 20:15:52 +02:00
jobs:
- job: Linux
timeoutInMinutes: 600
2019-05-06 20:15:52 +02:00
pool:
vmImage: ubuntu-16.04
steps:
- template: steps/run.yml
2019-05-06 20:15:52 +02:00
strategy:
matrix:
x86_64-gnu-llvm-6.0:
IMAGE: x86_64-gnu-llvm-6.0
mingw-check:
IMAGE: mingw-check
# TODO: enable this job if the commit message matches this regex, need tools
# figure out how to get the current commit message on azure and stick it in a
# condition somewhere
# if: commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri|cargo)\b)/
# - job: Linux-x86_64-gnu-tools
# pool:
# vmImage: ubuntu-16.04
# steps:
# - template: steps/run.yml
# variables:
# IMAGE: x86_64-gnu-tools