mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
tests: add 'rust' and 'bindgen' to CI package list
Although we're not enabling rust by default yet, we can still add rust and bindgen to the CI package list. This demonstrates that we're not accidentally triggering unexpected build behaviour merely from Rust being present. When we do dev work to enable rust by default, this will show we're building correctly on all platforms we target. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Link: https://lore.kernel.org/r/20241015133925.311587-2-berrange@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
388b849fb6
commit
548de8f8dc
23 changed files with 51 additions and 3 deletions
|
@ -90,6 +90,8 @@ RUN apk update && \
|
|||
py3-yaml \
|
||||
python3 \
|
||||
rpm2cpio \
|
||||
rust \
|
||||
rust-bindgen \
|
||||
samurai \
|
||||
sdl2-dev \
|
||||
sdl2_image-dev \
|
||||
|
|
|
@ -16,6 +16,7 @@ RUN dnf distro-sync -y && \
|
|||
alsa-lib-devel \
|
||||
bash \
|
||||
bc \
|
||||
bindgen-cli \
|
||||
bison \
|
||||
brlapi-devel \
|
||||
bzip2 \
|
||||
|
@ -102,6 +103,7 @@ RUN dnf distro-sync -y && \
|
|||
python3-sphinx_rtd_theme \
|
||||
python3-tomli \
|
||||
rdma-core-devel \
|
||||
rust \
|
||||
sed \
|
||||
snappy-devel \
|
||||
socat \
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -170,6 +172,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/x86_64-linux-gnu && \
|
|||
|
||||
ENV ABI "x86_64-linux-gnu"
|
||||
ENV MESON_OPTS "--cross-file=x86_64-linux-gnu"
|
||||
ENV RUST_TARGET "x86_64-unknown-linux-gnu"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-linux-gnu-
|
||||
ENV DEF_TARGET_LIST x86_64-softmmu,x86_64-linux-user,i386-softmmu,i386-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -169,6 +171,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/aarch64-linux-gnu && \
|
|||
|
||||
ENV ABI "aarch64-linux-gnu"
|
||||
ENV MESON_OPTS "--cross-file=aarch64-linux-gnu"
|
||||
ENV RUST_TARGET "aarch64-unknown-linux-gnu"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=aarch64-linux-gnu-
|
||||
ENV DEF_TARGET_LIST aarch64-softmmu,aarch64-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -169,6 +171,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/arm-linux-gnueabihf && \
|
|||
|
||||
ENV ABI "arm-linux-gnueabihf"
|
||||
ENV MESON_OPTS "--cross-file=arm-linux-gnueabihf"
|
||||
ENV RUST_TARGET "armv7-unknown-linux-gnueabihf"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabihf-
|
||||
ENV DEF_TARGET_LIST arm-softmmu,arm-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -168,6 +170,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/i686-linux-gnu && \
|
|||
|
||||
ENV ABI "i686-linux-gnu"
|
||||
ENV MESON_OPTS "--cross-file=i686-linux-gnu"
|
||||
ENV RUST_TARGET "i686-unknown-linux-gnu"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=i686-linux-gnu-
|
||||
ENV DEF_TARGET_LIST x86_64-softmmu,x86_64-linux-user,i386-softmmu,i386-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -158,6 +160,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/mips64el-linux-gnuabi64 && \
|
|||
|
||||
ENV ABI "mips64el-linux-gnuabi64"
|
||||
ENV MESON_OPTS "--cross-file=mips64el-linux-gnuabi64"
|
||||
ENV RUST_TARGET "mips64el-unknown-linux-gnuabi64"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=mips64el-linux-gnuabi64-
|
||||
ENV DEF_TARGET_LIST mips64el-softmmu,mips64el-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -166,6 +168,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/mipsel-linux-gnu && \
|
|||
|
||||
ENV ABI "mipsel-linux-gnu"
|
||||
ENV MESON_OPTS "--cross-file=mipsel-linux-gnu"
|
||||
ENV RUST_TARGET "mipsel-unknown-linux-gnu"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu-
|
||||
ENV DEF_TARGET_LIST mipsel-softmmu,mipsel-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -168,6 +170,7 @@ endian = 'little'\n" > /usr/local/share/meson/cross/powerpc64le-linux-gnu && \
|
|||
|
||||
ENV ABI "powerpc64le-linux-gnu"
|
||||
ENV MESON_OPTS "--cross-file=powerpc64le-linux-gnu"
|
||||
ENV RUST_TARGET "powerpc64le-unknown-linux-gnu"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=powerpc64le-linux-gnu-
|
||||
ENV DEF_TARGET_LIST ppc64-softmmu,ppc64-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -53,6 +54,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
@ -167,6 +169,7 @@ endian = 'big'\n" > /usr/local/share/meson/cross/s390x-linux-gnu && \
|
|||
|
||||
ENV ABI "s390x-linux-gnu"
|
||||
ENV MESON_OPTS "--cross-file=s390x-linux-gnu"
|
||||
ENV RUST_TARGET "s390x-unknown-linux-gnu"
|
||||
ENV QEMU_CONFIGURE_OPTS --cross-prefix=s390x-linux-gnu-
|
||||
ENV DEF_TARGET_LIST s390x-softmmu,s390x-linux-user
|
||||
# As a final step configure the user (if env is defined)
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -120,6 +121,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
|
|
@ -23,6 +23,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
|||
alsa-lib-devel \
|
||||
bash \
|
||||
bc \
|
||||
bindgen-cli \
|
||||
bison \
|
||||
brlapi-devel \
|
||||
bzip2 \
|
||||
|
@ -113,6 +114,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
|||
python3-sphinx_rtd_theme \
|
||||
python3-zombie-imp \
|
||||
rdma-core-devel \
|
||||
rust \
|
||||
sed \
|
||||
snappy-devel \
|
||||
socat \
|
||||
|
|
|
@ -20,6 +20,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
|||
nosync dnf install -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen-cli \
|
||||
bison \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
|
@ -53,6 +54,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
|||
python3-sphinx \
|
||||
python3-sphinx_rtd_theme \
|
||||
python3-zombie-imp \
|
||||
rust \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
|
|
@ -23,6 +23,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
|||
alsa-lib-devel \
|
||||
bash \
|
||||
bc \
|
||||
bindgen-cli \
|
||||
bison \
|
||||
brlapi-devel \
|
||||
bzip2 \
|
||||
|
@ -113,6 +114,7 @@ exec "$@"\n' > /usr/bin/nosync && \
|
|||
python3-sphinx_rtd_theme \
|
||||
python3-zombie-imp \
|
||||
rdma-core-devel \
|
||||
rust \
|
||||
sed \
|
||||
snappy-devel \
|
||||
socat \
|
||||
|
|
|
@ -96,6 +96,8 @@ RUN zypper update -y && \
|
|||
python311-pip \
|
||||
python311-setuptools \
|
||||
rdma-core-devel \
|
||||
rust \
|
||||
rust-bindgen \
|
||||
sed \
|
||||
snappy-devel \
|
||||
sndio-devel \
|
||||
|
|
|
@ -13,6 +13,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
eatmydata apt-get install --no-install-recommends -y \
|
||||
bash \
|
||||
bc \
|
||||
bindgen \
|
||||
bison \
|
||||
bsdextrautils \
|
||||
bzip2 \
|
||||
|
@ -120,6 +121,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
|||
python3-venv \
|
||||
python3-yaml \
|
||||
rpm2cpio \
|
||||
rustc \
|
||||
sed \
|
||||
socat \
|
||||
sparse \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue