File tree 5 files changed +16
-46
lines changed
src/ci/docker/host-x86_64
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
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
RUN apt-get update && apt-get install -y --no-install-recommends \
4
5
g++-multilib \
5
6
make \
@@ -20,18 +21,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
20
21
COPY scripts/sccache.sh /scripts/
21
22
RUN sh /scripts/sccache.sh
22
23
23
- COPY scripts/cmake.sh /scripts/
24
- RUN /scripts/cmake.sh
25
-
26
24
RUN mkdir -p /config
27
25
RUN echo "[rust]" > /config/nopt-std-config.toml
28
26
RUN echo "optimize = false" >> /config/nopt-std-config.toml
29
27
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
36
29
ENV SCRIPT python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std \
37
30
&& 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
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
RUN apt-get update && apt-get install -y --no-install-recommends \
4
5
g++-multilib \
5
6
make \
@@ -20,14 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
20
21
COPY scripts/sccache.sh /scripts/
21
22
RUN sh /scripts/sccache.sh
22
23
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
31
25
# Exclude some tests that are unlikely to be platform specific, to speed up
32
26
# this slow job.
33
27
ENV 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
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
RUN apt-get update && apt-get install -y --no-install-recommends \
4
5
g++ \
5
6
make \
@@ -23,13 +24,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
23
24
COPY scripts/sccache.sh /scripts/
24
25
RUN sh /scripts/sccache.sh
25
26
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
35
28
ENV 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
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
RUN apt-get update && apt-get install -y --no-install-recommends \
4
5
g++ \
5
6
make \
@@ -19,14 +20,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
19
20
COPY scripts/sccache.sh /scripts/
20
21
RUN sh /scripts/sccache.sh
21
22
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.
27
24
ENV NO_DOWNLOAD_CI_LLVM 1
28
25
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
31
27
ENV SCRIPT python3 ../x.py --stage 2 test distcheck
32
28
ENV DIST_SRC 1
Original file line number Diff line number Diff line change 1
- FROM ubuntu:16 .04
1
+ FROM ubuntu:22 .04
2
2
3
+ ARG DEBIAN_FRONTEND=noninteractive
3
4
RUN apt-get update && apt-get install -y --no-install-recommends \
4
5
g++ \
5
6
make \
@@ -27,6 +28,7 @@ RUN apt-get install -y \
27
28
libdbus-1-3 \
28
29
libexpat1 \
29
30
libfontconfig1 \
31
+ libgbm1 \
30
32
libgcc1 \
31
33
libgconf-2-4 \
32
34
libgdk-pixbuf2.0-0 \
@@ -59,9 +61,6 @@ RUN apt-get install -y \
59
61
COPY scripts/sccache.sh /scripts/
60
62
RUN sh /scripts/sccache.sh
61
63
62
- COPY scripts/cmake.sh /scripts/
63
- RUN /scripts/cmake.sh
64
-
65
64
COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
66
65
67
66
RUN 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/
80
79
# the local version of the package is different than the one used by the CI.
81
80
RUN npm install -g browser-ui-test@$(head -n 1 /tmp/browser-ui-test.version) --unsafe-perm=true
82
81
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
-
87
82
ENV RUST_CONFIGURE_ARGS \
88
- --set llvm.allow-old-toolchain \
89
83
--build=x86_64-unknown-linux-gnu \
90
84
--save-toolstates=/tmp/toolstate/toolstates.json
91
85
You can’t perform that action at this time.
0 commit comments