]> git.proxmox.com Git - rustc.git/blob - src/ci/docker/host-x86_64/mingw-check/Dockerfile
Update upstream source from tag 'upstream/1.46.0_beta.2+dfsg1'
[rustc.git] / src / ci / docker / host-x86_64 / mingw-check / Dockerfile
1 FROM ubuntu:18.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 python3 \
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 COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
23
24 ENV RUN_CHECK_WITH_PARALLEL_QUERIES 1
25 ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors && \
26 python3 ../x.py check --target=i686-pc-windows-gnu --host=i686-pc-windows-gnu && \
27 python3 ../x.py build --stage 0 src/tools/build-manifest && \
28 python3 ../x.py test --stage 0 src/tools/compiletest && \
29 python3 ../x.py test src/tools/tidy && \
30 python3 ../x.py doc --stage 0 src/libstd && \
31 /scripts/validate-toolstate.sh