File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
src/ci/docker/host-x86_64/test-various Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:20 .04
1+ FROM ubuntu:22 .04
22
3- RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
3+ ARG DEBIAN_FRONTEND=noninteractive
4+ RUN apt-get update && apt-get install -y --no-install-recommends \
45 clang-11 \
56 g++ \
67 make \
@@ -15,10 +16,12 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
1516 gdb \
1617 libssl-dev \
1718 pkg-config \
19+ bzip2 \
1820 xz-utils \
1921 wget \
2022 patch \
2123 ovmf \
24+ ovmf-ia32 \
2225 qemu-efi-aarch64 \
2326 qemu-system-arm \
2427 qemu-system-x86 \
@@ -27,19 +30,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
2730RUN curl -sL https://nodejs.org/dist/v18.12.0/node-v18.12.0-linux-x64.tar.xz | \
2831 tar -xJ
2932
30- # Install 32-bit OVMF files for the i686-unknown-uefi test. This package
31- # is not available in ubuntu 20.04, so download a 22.04 package.
32- RUN curl -sL --output ovmf-ia32.deb http://mirrors.kernel.org/ubuntu/pool/universe/e/edk2/ovmf-ia32_2022.02-3_all.deb
33- RUN dpkg -i ovmf-ia32.deb && rm ovmf-ia32.deb
34-
3533WORKDIR /build/
3634COPY scripts/musl-toolchain.sh /build/
3735RUN bash musl-toolchain.sh x86_64 && rm -rf build
3836WORKDIR /
3937
40- COPY scripts/cmake.sh /scripts/
41- RUN /scripts/cmake.sh
42-
4338COPY scripts/sccache.sh /scripts/
4439RUN sh /scripts/sccache.sh
4540
Original file line number Diff line number Diff line change @@ -109,12 +109,7 @@ def build_and_run(tmp_dir, target):
109109 '-drive' ,
110110 f'format=raw,file=fat:rw:{ esp } ' ,
111111 capture = True ,
112- # Ubuntu 20.04 (which is what the Dockerfile currently
113- # uses) provides QEMU 4.2.1, which segfaults on
114- # shutdown under some circumstances. That has been
115- # fixed in newer versions of QEMU, but for now just
116- # don't check the exit status.
117- check = False ,
112+ check = True ,
118113 # Set a timeout to kill the VM in case something goes wrong.
119114 timeout = 60 ).stdout
120115
You can’t perform that action at this time.
0 commit comments