File tree 2 files changed +6
-16
lines changed
src/ci/docker/host-x86_64/test-various
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
2
2
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 \
4
5
clang-11 \
5
6
g++ \
6
7
make \
@@ -15,10 +16,12 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
15
16
gdb \
16
17
libssl-dev \
17
18
pkg-config \
19
+ bzip2 \
18
20
xz-utils \
19
21
wget \
20
22
patch \
21
23
ovmf \
24
+ ovmf-ia32 \
22
25
qemu-efi-aarch64 \
23
26
qemu-system-arm \
24
27
qemu-system-x86 \
@@ -27,19 +30,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
27
30
RUN curl -sL https://nodejs.org/dist/v18.12.0/node-v18.12.0-linux-x64.tar.xz | \
28
31
tar -xJ
29
32
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
-
35
33
WORKDIR /build/
36
34
COPY scripts/musl-toolchain.sh /build/
37
35
RUN bash musl-toolchain.sh x86_64 && rm -rf build
38
36
WORKDIR /
39
37
40
- COPY scripts/cmake.sh /scripts/
41
- RUN /scripts/cmake.sh
42
-
43
38
COPY scripts/sccache.sh /scripts/
44
39
RUN sh /scripts/sccache.sh
45
40
Original file line number Diff line number Diff line change @@ -109,12 +109,7 @@ def build_and_run(tmp_dir, target):
109
109
'-drive' ,
110
110
f'format=raw,file=fat:rw:{ esp } ' ,
111
111
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 ,
118
113
# Set a timeout to kill the VM in case something goes wrong.
119
114
timeout = 60 ).stdout
120
115
You can’t perform that action at this time.
0 commit comments