Skip to content

Commit 18eb266

Browse files
committed
Hack to run bors try tests on Windows
1 parent 71c41da commit 18eb266

File tree

1 file changed

+59
-33
lines changed

1 file changed

+59
-33
lines changed

src/ci/azure-pipelines/try.yml

Lines changed: 59 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ variables:
66
- group: prod-credentials
77

88
jobs:
9-
- job: Linux
10-
timeoutInMinutes: 600
11-
pool:
12-
vmImage: ubuntu-16.04
13-
steps:
14-
- template: steps/run.yml
15-
strategy:
16-
matrix:
17-
dist-x86_64-linux:
18-
IMAGE: dist-x86_64-linux
19-
DEPLOY: 1
20-
21-
dist-x86_64-linux-alt:
22-
IMAGE: dist-x86_64-linux
23-
DEPLOY_ALT: 1
9+
# - job: Linux
10+
# timeoutInMinutes: 600
11+
# pool:
12+
# vmImage: ubuntu-16.04
13+
# steps:
14+
# - template: steps/run.yml
15+
# strategy:
16+
# matrix:
17+
# dist-x86_64-linux:
18+
# IMAGE: dist-x86_64-linux
19+
# DEPLOY: 1
20+
#
21+
# dist-x86_64-linux-alt:
22+
# IMAGE: dist-x86_64-linux
23+
# DEPLOY_ALT: 1
2424

2525
# The macOS and Windows builds here are currently disabled due to them not being
2626
# overly necessary on `try` builds. We also don't actually have anything that
@@ -53,24 +53,50 @@ jobs:
5353
# NO_LLVM_ASSERTIONS: 1
5454
# NO_DEBUG_ASSERTIONS: 1
5555
#
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-
#
56+
- job: Windows
57+
timeoutInMinutes: 600
58+
pool:
59+
vmImage: 'vs2017-win2016'
60+
steps:
61+
- template: steps/run.yml
62+
strategy:
63+
matrix:
64+
# 32/64 bit MSVC tests
65+
x86_64-msvc-1:
66+
MSYS_BITS: 64
67+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
68+
SCRIPT: make ci-subset-1
69+
# FIXME(#59637)
70+
NO_DEBUG_ASSERTIONS: 1
71+
NO_LLVM_ASSERTIONS: 1
72+
i686-msvc-1:
73+
MSYS_BITS: 32
74+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
75+
SCRIPT: make ci-subset-1
76+
# FIXME(#59637)
77+
NO_DEBUG_ASSERTIONS: 1
78+
NO_LLVM_ASSERTIONS: 1
79+
i686-mingw-1:
80+
MSYS_BITS: 32
81+
RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
82+
SCRIPT: make ci-mingw-subset-1
83+
MINGW_URL: https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc
84+
MINGW_ARCHIVE: i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
85+
MINGW_DIR: mingw32
86+
# FIXME(#59637)
87+
NO_DEBUG_ASSERTIONS: 1
88+
NO_LLVM_ASSERTIONS: 1
89+
x86_64-mingw-1:
90+
MSYS_BITS: 64
91+
SCRIPT: make ci-mingw-subset-1
92+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu
93+
MINGW_URL: https://rust-lang-ci-mirrors.s3-us-west-1.amazonaws.com/rustc
94+
MINGW_ARCHIVE: x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
95+
MINGW_DIR: mingw64
96+
# FIXME(#59637)
97+
NO_DEBUG_ASSERTIONS: 1
98+
NO_LLVM_ASSERTIONS: 1
99+
74100
# dist-x86_64-msvc-alt:
75101
# MSYS_BITS: 64
76102
# RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler

0 commit comments

Comments
 (0)