ci: Switch official `try` builds to happen on Azure

This commit switches the `try` builers to officially happen on Azure
Pipelines instead of Travis where they're currently run. This also cuts
back the number of builders to just the two we run on Travis, leaving
expansion as a possible future extension.
This commit is contained in:
Alex Crichton 2019-06-26 01:54:26 -07:00
parent d3e2cec292
commit f6adc3945e
2 changed files with 57 additions and 57 deletions

View File

@ -1,13 +1,9 @@
#
# Azure Pipelines "auto" branch build for Rust on Linux, macOS, and Windows.
#
pr: none pr: none
trigger: trigger:
- try - try
variables: variables:
- group: prod-credentials - group: real-prod-credentials
jobs: jobs:
- job: Linux - job: Linux
@ -26,53 +22,57 @@ jobs:
IMAGE: dist-x86_64-linux IMAGE: dist-x86_64-linux
DEPLOY_ALT: 1 DEPLOY_ALT: 1
- job: macOS # The macOS and Windows builds here are currently disabled due to them not being
timeoutInMinutes: 600 # overly necessary on `try` builds. We also don't actually have anything that
pool: # consumes the artifacts currently. Perhaps one day we can reenable, but for now
vmImage: macos-10.13 # it helps free up capacity on Azure.
steps: # - job: macOS
- template: steps/run.yml # timeoutInMinutes: 600
strategy: # pool:
matrix: # vmImage: macos-10.13
dist-x86_64-apple: # steps:
SCRIPT: ./x.py dist # - template: steps/run.yml
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 # strategy:
DEPLOY: 1 # matrix:
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 # dist-x86_64-apple:
MACOSX_DEPLOYMENT_TARGET: 10.7 # SCRIPT: ./x.py dist
NO_LLVM_ASSERTIONS: 1 # 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
NO_DEBUG_ASSERTIONS: 1 # DEPLOY: 1
DIST_REQUIRE_ALL_TOOLS: 1 # RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
# MACOSX_DEPLOYMENT_TARGET: 10.7
dist-x86_64-apple-alt: # NO_LLVM_ASSERTIONS: 1
SCRIPT: ./x.py dist # NO_DEBUG_ASSERTIONS: 1
RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc # DIST_REQUIRE_ALL_TOOLS: 1
DEPLOY_ALT: 1 #
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1 # dist-x86_64-apple-alt:
MACOSX_DEPLOYMENT_TARGET: 10.7 # SCRIPT: ./x.py dist
NO_LLVM_ASSERTIONS: 1 # RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc
NO_DEBUG_ASSERTIONS: 1 # DEPLOY_ALT: 1
# RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
- job: Windows # MACOSX_DEPLOYMENT_TARGET: 10.7
timeoutInMinutes: 600 # NO_LLVM_ASSERTIONS: 1
pool: # NO_DEBUG_ASSERTIONS: 1
vmImage: 'vs2017-win2016' #
steps: # - job: Windows
- template: steps/run.yml # timeoutInMinutes: 600
strategy: # pool:
matrix: # vmImage: 'vs2017-win2016'
dist-x86_64-msvc: # steps:
RUST_CONFIGURE_ARGS: > # - template: steps/run.yml
--build=x86_64-pc-windows-msvc # strategy:
--target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc # matrix:
--enable-full-tools # dist-x86_64-msvc:
--enable-profiler # RUST_CONFIGURE_ARGS: >
SCRIPT: python x.py dist # --build=x86_64-pc-windows-msvc
DIST_REQUIRE_ALL_TOOLS: 1 # --target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
DEPLOY: 1 # --enable-full-tools
# --enable-profiler
dist-x86_64-msvc-alt: # SCRIPT: python x.py dist
MSYS_BITS: 64 # DIST_REQUIRE_ALL_TOOLS: 1
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler # DEPLOY: 1
SCRIPT: python x.py dist #
DEPLOY_ALT: 1 # 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

View File

@ -26,14 +26,14 @@ matrix:
- env: IMAGE=dist-x86_64-linux DEPLOY=1 - env: IMAGE=dist-x86_64-linux DEPLOY=1
name: dist-x86_64-linux name: dist-x86_64-linux
if: branch = try OR branch = auto if: branch = auto
# "alternate" deployments, these are "nightlies" but have LLVM assertions # "alternate" deployments, these are "nightlies" but have LLVM assertions
# turned on, they're deployed to a different location primarily for # turned on, they're deployed to a different location primarily for
# additional testing. # additional testing.
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1 - env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1
name: dist-x86_64-linux-alt name: dist-x86_64-linux-alt
if: branch = try OR branch = auto if: branch = auto
- env: > - env: >
SCRIPT="./x.py dist" SCRIPT="./x.py dist"