2019-05-06 20:15:52 +02:00
|
|
|
#
|
|
|
|
# Azure Pipelines pull request build for Rust
|
2019-05-13 09:55:12 +02:00
|
|
|
#
|
2019-05-06 20:15:52 +02:00
|
|
|
|
|
|
|
trigger: none
|
|
|
|
pr:
|
2019-06-12 16:59:20 +02:00
|
|
|
- master
|
2019-05-06 20:15:52 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: Linux
|
2019-06-12 16:59:20 +02:00
|
|
|
timeoutInMinutes: 600
|
2019-05-06 20:15:52 +02:00
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
|
|
|
steps:
|
2019-05-20 21:21:14 +02:00
|
|
|
- template: steps/run.yml
|
2019-05-06 20:15:52 +02:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
x86_64-gnu-llvm-6.0:
|
2019-06-12 16:59:20 +02:00
|
|
|
IMAGE: x86_64-gnu-llvm-6.0
|
|
|
|
mingw-check:
|
|
|
|
IMAGE: mingw-check
|
2019-05-13 09:55:12 +02:00
|
|
|
|
2019-06-12 16:59:20 +02:00
|
|
|
# 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
|