Skip to content

Commit 642bcc4

Browse files
committed
Rollup merge of rust-lang#49866 - Mark-Simulacrum:pr-travis-windows, r=alexcrichton
Cross-compile builder to Windows for PRs on Travis I chose a completely arbitrary windows target here (I have no idea what's best, we could do multiple -- they are relatively fast).
2 parents 95b7e6f + de34533 commit 642bcc4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ matrix:
176176
if: branch = auto
177177
- env: IMAGE=x86_64-gnu-distcheck
178178
if: branch = auto
179+
- env: IMAGE=mingw-check
180+
if: type = pull_request OR branch = auto
179181

180182
- stage: publish toolstate
181183
if: branch = master AND type = push

src/ci/docker/mingw-check/Dockerfile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM ubuntu:16.04
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
g++ \
5+
make \
6+
file \
7+
curl \
8+
ca-certificates \
9+
python2.7 \
10+
git \
11+
cmake \
12+
sudo \
13+
gdb \
14+
xz-utils \
15+
libssl-dev \
16+
pkg-config \
17+
mingw-w64
18+
19+
COPY scripts/sccache.sh /scripts/
20+
RUN sh /scripts/sccache.sh
21+
22+
ENV SCRIPT python2.7 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu

0 commit comments

Comments
 (0)