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