File tree Expand file tree Collapse file tree 5 files changed +16
-46
lines changed
src/ci/docker/host-x86_64 Expand file tree Collapse file tree 5 files changed +16
-46
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
3+ ARG DEBIAN_FRONTEND=noninteractive
34RUN apt-get update && apt-get install -y --no-install-recommends \
45 g++-multilib \
56 make \
@@ -20,18 +21,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2021COPY scripts/sccache.sh /scripts/
2122RUN sh /scripts/sccache.sh
2223
23- COPY scripts/cmake.sh /scripts/
24- RUN /scripts/cmake.sh
25-
2624RUN mkdir -p /config
2725RUN echo "[rust]" > /config/nopt-std-config.toml
2826RUN echo "optimize = false" >> /config/nopt-std-config.toml
2927
30- # We are intentionally allowing an old toolchain on this builder (and that's
31- # incompatible with LLVM downloads today).
32- ENV NO_DOWNLOAD_CI_LLVM 1
33-
34- ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests \
35- --set llvm.allow-old-toolchain
28+ ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu --disable-optimize-tests
3629ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
3730 && python3 ../x.py --stage 2 test
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
3+ ARG DEBIAN_FRONTEND=noninteractive
34RUN apt-get update && apt-get install -y --no-install-recommends \
45 g++-multilib \
56 make \
@@ -20,14 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2021COPY scripts/sccache.sh /scripts/
2122RUN sh /scripts/sccache.sh
2223
23- COPY scripts/cmake.sh /scripts/
24- RUN /scripts/cmake.sh
25-
26- # We are intentionally allowing an old toolchain on this builder (and that's
27- # incompatible with LLVM downloads today).
28- ENV NO_DOWNLOAD_CI_LLVM 1
29- ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu \
30- --set llvm.allow-old-toolchain
24+ ENV RUST_CONFIGURE_ARGS --build=i686-unknown-linux-gnu
3125# Exclude some tests that are unlikely to be platform specific, to speed up
3226# this slow job.
3327ENV SCRIPT python3 ../x.py --stage 2 test \
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
3+ ARG DEBIAN_FRONTEND=noninteractive
34RUN apt-get update && apt-get install -y --no-install-recommends \
45 g++ \
56 make \
@@ -23,13 +24,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2324COPY scripts/sccache.sh /scripts/
2425RUN sh /scripts/sccache.sh
2526
26- COPY scripts/cmake.sh /scripts/
27- RUN /scripts/cmake.sh
28-
29- # We are intentionally allowing an old toolchain on this builder (and that's
30- # incompatible with LLVM downloads today).
31- ENV NO_DOWNLOAD_CI_LLVM 1
32-
33- ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu \
34- --set llvm.allow-old-toolchain
27+ ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu
3528ENV RUST_CHECK_TARGET check-aux
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
3+ ARG DEBIAN_FRONTEND=noninteractive
34RUN apt-get update && apt-get install -y --no-install-recommends \
45 g++ \
56 make \
@@ -19,14 +20,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1920COPY scripts/sccache.sh /scripts/
2021RUN sh /scripts/sccache.sh
2122
22- COPY scripts/cmake.sh /scripts/
23- RUN /scripts/cmake.sh
24-
25- # We are intentionally allowing an old toolchain on this builder (and that's
26- # incompatible with LLVM downloads today).
23+ # We are disabling CI LLVM since distcheck is an offline build.
2724ENV NO_DOWNLOAD_CI_LLVM 1
2825
29- ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu --set rust.ignore-git=false \
30- --set llvm.allow-old-toolchain
26+ ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu --set rust.ignore-git=false
3127ENV SCRIPT python3 ../x.py --stage 2 test distcheck
3228ENV DIST_SRC 1
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:22 .04
22
3+ ARG DEBIAN_FRONTEND=noninteractive
34RUN apt-get update && apt-get install -y --no-install-recommends \
45 g++ \
56 make \
@@ -27,6 +28,7 @@ RUN apt-get install -y \
2728 libdbus-1-3 \
2829 libexpat1 \
2930 libfontconfig1 \
31+ libgbm1 \
3032 libgcc1 \
3133 libgconf-2-4 \
3234 libgdk-pixbuf2.0-0 \
@@ -59,9 +61,6 @@ RUN apt-get install -y \
5961COPY scripts/sccache.sh /scripts/
6062RUN sh /scripts/sccache.sh
6163
62- COPY scripts/cmake.sh /scripts/
63- RUN /scripts/cmake.sh
64-
6564COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
6665
6766RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | tar -xJ
@@ -80,12 +79,7 @@ COPY host-x86_64/x86_64-gnu-tools/browser-ui-test.version /tmp/
8079# the local version of the package is different than the one used by the CI.
8180RUN npm install -g browser-ui-test@$(head -n 1 /tmp/browser-ui-test.version) --unsafe-perm=true
8281
83- # We are intentionally allowing an old toolchain on this builder (and that's
84- # incompatible with LLVM downloads today).
85- ENV NO_DOWNLOAD_CI_LLVM 1
86-
8782ENV RUST_CONFIGURE_ARGS \
88- --set llvm.allow-old-toolchain \
8983 --build=x86_64-unknown-linux-gnu \
9084 --save-toolstates=/tmp/toolstate/toolstates.json
9185
You can’t perform that action at this time.
0 commit comments