2019-05-06 13:15:52 -05:00
|
|
|
#
|
2019-05-21 12:45:13 -05:00
|
|
|
# Azure Pipelines "auto" branch build for Rust on Linux, macOS, and Windows.
|
2019-05-13 02:55:12 -05:00
|
|
|
#
|
2019-05-06 13:15:52 -05:00
|
|
|
|
|
|
|
pr: none
|
2019-05-21 12:46:41 -05:00
|
|
|
trigger:
|
|
|
|
- try
|
2019-05-06 13:15:52 -05:00
|
|
|
|
|
|
|
variables:
|
2019-05-15 07:44:25 -05:00
|
|
|
- group: prod-credentials
|
2019-05-06 13:15:52 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: Linux
|
2019-05-21 14:06:47 -05:00
|
|
|
timeoutInMinutes: 600
|
2019-05-06 13:15:52 -05:00
|
|
|
pool:
|
|
|
|
vmImage: ubuntu-16.04
|
2019-05-21 12:45:13 -05:00
|
|
|
steps:
|
|
|
|
- template: steps/run.yml
|
2019-05-06 13:15:52 -05:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
dist-x86_64-linux:
|
2019-05-20 02:38:11 -05:00
|
|
|
IMAGE: dist-x86_64-linux
|
2019-05-06 13:15:52 -05:00
|
|
|
DEPLOY: 1
|
2019-05-22 11:10:05 -05:00
|
|
|
|
2019-05-21 15:32:53 -05:00
|
|
|
dist-x86_64-linux-alt:
|
|
|
|
IMAGE: dist-x86_64-linux
|
|
|
|
DEPLOY_ALT: 1
|
2019-05-21 12:46:41 -05:00
|
|
|
|
2019-05-20 14:29:30 -05:00
|
|
|
- job: macOS
|
2019-05-21 14:06:47 -05:00
|
|
|
timeoutInMinutes: 600
|
2019-05-20 14:29:30 -05:00
|
|
|
pool:
|
|
|
|
vmImage: macos-10.13
|
2019-05-21 12:45:13 -05:00
|
|
|
steps:
|
|
|
|
- template: steps/run.yml
|
2019-05-20 14:29:30 -05:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
dist-x86_64-apple:
|
2019-05-30 09:22:53 -05:00
|
|
|
SCRIPT: ./x.py dist
|
2019-05-20 14:29:30 -05:00
|
|
|
RUST_CONFIGURE_ARGS: --target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --enable-lldb --set rust.jemalloc
|
|
|
|
DEPLOY: 1
|
|
|
|
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
|
|
|
|
MACOSX_DEPLOYMENT_TARGET: 10.7
|
|
|
|
NO_LLVM_ASSERTIONS: 1
|
|
|
|
NO_DEBUG_ASSERTIONS: 1
|
|
|
|
DIST_REQUIRE_ALL_TOOLS: 1
|
2019-05-21 12:45:13 -05:00
|
|
|
|
2019-05-21 15:32:53 -05:00
|
|
|
dist-x86_64-apple-alt:
|
2019-05-30 09:22:53 -05:00
|
|
|
SCRIPT: ./x.py dist
|
2019-05-21 15:32:53 -05:00
|
|
|
RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc
|
|
|
|
DEPLOY_ALT: 1
|
|
|
|
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
|
|
|
|
MACOSX_DEPLOYMENT_TARGET: 10.7
|
|
|
|
NO_LLVM_ASSERTIONS: 1
|
|
|
|
NO_DEBUG_ASSERTIONS: 1
|
|
|
|
|
2019-05-20 14:29:30 -05:00
|
|
|
- job: Windows
|
2019-05-21 14:06:47 -05:00
|
|
|
timeoutInMinutes: 600
|
2019-05-20 14:29:30 -05:00
|
|
|
pool:
|
|
|
|
vmImage: 'vs2017-win2016'
|
2019-05-21 12:45:13 -05:00
|
|
|
steps:
|
|
|
|
- template: steps/run.yml
|
2019-05-20 14:29:30 -05:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2019-05-21 12:45:13 -05:00
|
|
|
dist-x86_64-msvc:
|
|
|
|
RUST_CONFIGURE_ARGS: >
|
|
|
|
--build=x86_64-pc-windows-msvc
|
|
|
|
--target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
|
|
|
|
--enable-full-tools
|
|
|
|
--enable-profiler
|
|
|
|
SCRIPT: python x.py dist
|
|
|
|
DIST_REQUIRE_ALL_TOOLS: 1
|
|
|
|
DEPLOY: 1
|
2019-05-21 15:32:53 -05:00
|
|
|
|
|
|
|
dist-x86_64-msvc-alt:
|
|
|
|
MSYS_BITS: 64
|
|
|
|
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler
|
|
|
|
SCRIPT: python x.py dist
|
|
|
|
DEPLOY_ALT: 1
|