Skip to content

Commit b2e46b5

Browse files
committed
Auto merge of #62147 - Centril:rollup-pigazoz, r=alexcrichton
[CI] Rollup of 5 pull requests Successful merges: - #62140 (ci: Turn off PR builds on Travis) - #62141 (ci: Disable assertions in PR builds) - #62142 (ci: Switch official `try` builds to happen on Azure) - #62143 (ci: Publish toolstate changes from Azure) - #62145 (ci: Sync AppVeyor/Travis with Azure configuration) Failed merges: r? @ghost
2 parents d3e2cec + 6772ebc commit b2e46b5

File tree

5 files changed

+74
-76
lines changed

5 files changed

+74
-76
lines changed

.azure-pipelines/auto.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,12 @@ jobs:
251251
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
252252
VCVARS_BAT: vcvars64.bat
253253
# MSVC tools tests
254-
x86_64-msvc-tools:
255-
MSYS_BITS: 64
256-
SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstates.json windows
257-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstates.json --enable-test-miri
254+
# FIXME: broken on azure right now, need to figure out a cause and
255+
# reenable
256+
# x86_64-msvc-tools:
257+
# MSYS_BITS: 64
258+
# SCRIPT: src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstates.json windows
259+
# RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstates.json --enable-test-miri
258260

259261
# 32/64-bit MinGW builds.
260262
#
@@ -325,7 +327,7 @@ jobs:
325327
DEPLOY: 1
326328
dist-i686-mingw:
327329
MSYS_BITS: 32
328-
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-full-tools
330+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --enable-full-tools --enable-profiler
329331
SCRIPT: python x.py dist
330332
MINGW_URL: https://rust-lang-ci2.s3.amazonaws.com/rust-ci-mirror
331333
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
@@ -335,7 +337,7 @@ jobs:
335337
dist-x86_64-mingw:
336338
MSYS_BITS: 64
337339
SCRIPT: python x.py dist
338-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-full-tools
340+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu --enable-full-tools --enable-profiler
339341
MINGW_URL: https://rust-lang-ci2.s3.amazonaws.com/rust-ci-mirror
340342
MINGW_ARCHIVE: x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
341343
MINGW_DIR: mingw64

.azure-pipelines/master.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ trigger:
77
- master
88

99
variables:
10-
- group: prod-credentials
10+
- group: real-prod-credentials
1111

1212
pool:
1313
vmImage: ubuntu-16.04

.azure-pipelines/try.yml

+55-55
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
#
2-
# Azure Pipelines "auto" branch build for Rust on Linux, macOS, and Windows.
3-
#
4-
51
pr: none
62
trigger:
73
- try
84

95
variables:
10-
- group: prod-credentials
6+
- group: real-prod-credentials
117

128
jobs:
139
- job: Linux
@@ -26,53 +22,57 @@ jobs:
2622
IMAGE: dist-x86_64-linux
2723
DEPLOY_ALT: 1
2824

29-
- job: macOS
30-
timeoutInMinutes: 600
31-
pool:
32-
vmImage: macos-10.13
33-
steps:
34-
- template: steps/run.yml
35-
strategy:
36-
matrix:
37-
dist-x86_64-apple:
38-
SCRIPT: ./x.py dist
39-
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
40-
DEPLOY: 1
41-
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
42-
MACOSX_DEPLOYMENT_TARGET: 10.7
43-
NO_LLVM_ASSERTIONS: 1
44-
NO_DEBUG_ASSERTIONS: 1
45-
DIST_REQUIRE_ALL_TOOLS: 1
46-
47-
dist-x86_64-apple-alt:
48-
SCRIPT: ./x.py dist
49-
RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc
50-
DEPLOY_ALT: 1
51-
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
52-
MACOSX_DEPLOYMENT_TARGET: 10.7
53-
NO_LLVM_ASSERTIONS: 1
54-
NO_DEBUG_ASSERTIONS: 1
55-
56-
- job: Windows
57-
timeoutInMinutes: 600
58-
pool:
59-
vmImage: 'vs2017-win2016'
60-
steps:
61-
- template: steps/run.yml
62-
strategy:
63-
matrix:
64-
dist-x86_64-msvc:
65-
RUST_CONFIGURE_ARGS: >
66-
--build=x86_64-pc-windows-msvc
67-
--target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
68-
--enable-full-tools
69-
--enable-profiler
70-
SCRIPT: python x.py dist
71-
DIST_REQUIRE_ALL_TOOLS: 1
72-
DEPLOY: 1
73-
74-
dist-x86_64-msvc-alt:
75-
MSYS_BITS: 64
76-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler
77-
SCRIPT: python x.py dist
78-
DEPLOY_ALT: 1
25+
# The macOS and Windows builds here are currently disabled due to them not being
26+
# overly necessary on `try` builds. We also don't actually have anything that
27+
# consumes the artifacts currently. Perhaps one day we can reenable, but for now
28+
# it helps free up capacity on Azure.
29+
# - job: macOS
30+
# timeoutInMinutes: 600
31+
# pool:
32+
# vmImage: macos-10.13
33+
# steps:
34+
# - template: steps/run.yml
35+
# strategy:
36+
# matrix:
37+
# dist-x86_64-apple:
38+
# SCRIPT: ./x.py dist
39+
# 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
40+
# DEPLOY: 1
41+
# RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
42+
# MACOSX_DEPLOYMENT_TARGET: 10.7
43+
# NO_LLVM_ASSERTIONS: 1
44+
# NO_DEBUG_ASSERTIONS: 1
45+
# DIST_REQUIRE_ALL_TOOLS: 1
46+
#
47+
# dist-x86_64-apple-alt:
48+
# SCRIPT: ./x.py dist
49+
# RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc
50+
# DEPLOY_ALT: 1
51+
# RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
52+
# MACOSX_DEPLOYMENT_TARGET: 10.7
53+
# NO_LLVM_ASSERTIONS: 1
54+
# NO_DEBUG_ASSERTIONS: 1
55+
#
56+
# - job: Windows
57+
# timeoutInMinutes: 600
58+
# pool:
59+
# vmImage: 'vs2017-win2016'
60+
# steps:
61+
# - template: steps/run.yml
62+
# strategy:
63+
# matrix:
64+
# dist-x86_64-msvc:
65+
# RUST_CONFIGURE_ARGS: >
66+
# --build=x86_64-pc-windows-msvc
67+
# --target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
68+
# --enable-full-tools
69+
# --enable-profiler
70+
# SCRIPT: python x.py dist
71+
# DIST_REQUIRE_ALL_TOOLS: 1
72+
# DEPLOY: 1
73+
#
74+
# dist-x86_64-msvc-alt:
75+
# MSYS_BITS: 64
76+
# RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler
77+
# SCRIPT: python x.py dist
78+
# DEPLOY_ALT: 1

.travis.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ matrix:
2222
# Images used in testing PR and try-build should be run first.
2323
- env: IMAGE=x86_64-gnu-llvm-6.0 RUST_BACKTRACE=1
2424
name: x86_64-gnu-llvm-6.0
25-
if: type = pull_request OR branch = auto
25+
if: branch = auto
2626

2727
- env: IMAGE=dist-x86_64-linux DEPLOY=1
2828
name: dist-x86_64-linux
29-
if: branch = try OR branch = auto
29+
if: branch = auto
3030

3131
# "alternate" deployments, these are "nightlies" but have LLVM assertions
3232
# turned on, they're deployed to a different location primarily for
3333
# additional testing.
3434
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1
3535
name: dist-x86_64-linux-alt
36-
if: branch = try OR branch = auto
36+
if: branch = auto
3737

3838
- env: >
3939
SCRIPT="./x.py dist"
@@ -227,17 +227,7 @@ matrix:
227227
if: branch = auto
228228
- env: IMAGE=mingw-check
229229
name: mingw-check
230-
if: type = pull_request OR branch = auto
231-
232-
- stage: publish toolstate
233-
if: branch = master AND type = push
234-
before_install: []
235-
install: []
236-
sudo: false
237-
script:
238-
MESSAGE_FILE=$(mktemp -t msg.XXXXXX);
239-
. src/ci/docker/x86_64-gnu-tools/repo.sh;
240-
commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN";
230+
if: branch = auto
241231

242232
before_install:
243233
# We'll use the AWS cli to download/upload cached docker layers as well as

src/ci/docker/x86_64-gnu-llvm-6.0/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,9 @@ ENV RUST_CONFIGURE_ARGS \
2525
--llvm-root=/usr/lib/llvm-6.0 \
2626
--enable-llvm-link-shared
2727
ENV SCRIPT python2.7 ../x.py test src/tools/tidy && python2.7 ../x.py test
28+
29+
# The purpose of this container isn't to test with debug assertions and
30+
# this is run on all PRs, so let's get speedier builds by disabling these extra
31+
# checks.
32+
ENV NO_DEBUG_ASSERTIONS=1
33+
ENV NO_LLVM_ASSERTIONS=1

0 commit comments

Comments
 (0)