mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
CI: Update x86 to use Debian Trixie
With the exception of the custom IBT job, copy all Debian 12 jobs making Debian 13 versions, then trim the Debian 12 ranconfig jobs. Update the test jobs using Debian 12 to use 13. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Denis Mukhin <dmukhin@ford.com> Reviewed-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
fdc2023945
commit
809bd86db6
5 files changed
+174
-19
No files matched your search
@@ -0,0 +1,52 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM --platform=linux/i386 debian:trixie-slim
|
||||
LABEL maintainer.name="The Xen Project"
|
||||
LABEL maintainer.email="xen-devel@lists.xenproject.org"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN <<EOF
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
useradd --create-home user
|
||||
|
||||
apt-get update
|
||||
|
||||
DEPS=(
|
||||
# Xen
|
||||
bison
|
||||
build-essential
|
||||
checkpolicy
|
||||
clang
|
||||
flex
|
||||
|
||||
# Tools (general)
|
||||
ca-certificates
|
||||
cpio
|
||||
git-core
|
||||
pkg-config
|
||||
wget
|
||||
# libacpi
|
||||
acpica-tools
|
||||
# libxl
|
||||
uuid-dev
|
||||
libyajl-dev
|
||||
# xentop
|
||||
libncurses5-dev
|
||||
# Python bindings
|
||||
python3-dev
|
||||
python3-setuptools
|
||||
# Ocaml bindings/oxenstored
|
||||
ocaml-nox
|
||||
ocaml-findlib
|
||||
)
|
||||
|
||||
apt-get -y --no-install-recommends install "${DEPS[@]}"
|
||||
|
||||
rm -rf /var/lib/apt/lists*
|
||||
EOF
|
||||
|
||||
USER user
|
||||
WORKDIR /build
|
||||
ENTRYPOINT ["linux32"]
|
||||
@@ -0,0 +1,72 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM --platform=linux/amd64 debian:trixie-slim
|
||||
LABEL maintainer.name="The Xen Project"
|
||||
LABEL maintainer.email="xen-devel@lists.xenproject.org"
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN <<EOF
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
useradd --create-home user
|
||||
|
||||
apt-get update
|
||||
|
||||
DEPS=(
|
||||
# Xen
|
||||
bison
|
||||
build-essential
|
||||
checkpolicy
|
||||
clang
|
||||
flex
|
||||
|
||||
# Tools (general)
|
||||
ca-certificates
|
||||
cpio
|
||||
git-core
|
||||
pkg-config
|
||||
wget
|
||||
# libxenguest dombuilder
|
||||
libbz2-dev
|
||||
liblzma-dev
|
||||
liblzo2-dev
|
||||
libzstd-dev
|
||||
zlib1g-dev
|
||||
# libacpi
|
||||
acpica-tools
|
||||
# libxl
|
||||
uuid-dev
|
||||
libnl-3-dev
|
||||
libyajl-dev
|
||||
# RomBIOS
|
||||
bcc
|
||||
bin86
|
||||
# xentop
|
||||
libncurses5-dev
|
||||
# Python bindings
|
||||
python3-dev
|
||||
python3-setuptools
|
||||
# Golang bindings
|
||||
golang-go
|
||||
# Ocaml bindings/oxenstored
|
||||
ocaml-nox
|
||||
ocaml-findlib
|
||||
|
||||
# for test phase, qemu-* jobs
|
||||
busybox-static
|
||||
expect
|
||||
ovmf
|
||||
qemu-system-x86
|
||||
|
||||
# for build-each-commit-gcc
|
||||
ccache
|
||||
)
|
||||
|
||||
apt-get -y --no-install-recommends install "${DEPS[@]}"
|
||||
|
||||
rm -rf /var/lib/apt/lists*
|
||||
EOF
|
||||
|
||||
USER user
|
||||
WORKDIR /build
|
||||
@@ -309,15 +309,15 @@ alpine-3.18-gcc-debug:
|
||||
CONFIG_UCODE_SCAN_DEFAULT=y
|
||||
CONFIG_XHCI=y
|
||||
|
||||
debian-12-x86_64-gcc-debug:
|
||||
debian-13-x86_64-gcc-debug:
|
||||
extends: .gcc-x86-64-build-debug
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
CONTAINER: debian:13-x86_64
|
||||
|
||||
debian-12-x86_64-clang-debug:
|
||||
debian-13-x86_64-clang-debug:
|
||||
extends: .clang-x86-64-build-debug
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
CONTAINER: debian:13-x86_64
|
||||
|
||||
debian-13-ppc64le-gcc-debug:
|
||||
extends: .gcc-ppc64le-cross-build-debug
|
||||
@@ -545,24 +545,20 @@ debian-12-x86_64-clang:
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
|
||||
debian-12-x86_64-clang-randconfig:
|
||||
extends: .clang-x86-64-build
|
||||
debian-12-x86_64-clang-debug:
|
||||
extends: .clang-x86-64-build-debug
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
RANDCONFIG: y
|
||||
EXTRA_FIXED_RANDCONFIG: |
|
||||
CONFIG_COVERAGE=n # Disable coverage otherwise build times out.
|
||||
|
||||
debian-12-x86_64-gcc:
|
||||
extends: .gcc-x86-64-build
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
|
||||
debian-12-x86_64-gcc-randconfig:
|
||||
extends: .gcc-x86-64-build
|
||||
debian-12-x86_64-gcc-debug:
|
||||
extends: .gcc-x86-64-build-debug
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
RANDCONFIG: y
|
||||
|
||||
debian-12-x86_32-clang-debug:
|
||||
extends: .clang-x86-32-build-debug
|
||||
@@ -574,6 +570,40 @@ debian-12-x86_32-gcc-debug:
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_32
|
||||
|
||||
debian-13-x86_64-clang:
|
||||
extends: .clang-x86-64-build
|
||||
variables:
|
||||
CONTAINER: debian:13-x86_64
|
||||
|
||||
debian-13-x86_64-clang-randconfig:
|
||||
extends: .clang-x86-64-build
|
||||
variables:
|
||||
CONTAINER: debian:13-x86_64
|
||||
RANDCONFIG: y
|
||||
EXTRA_FIXED_RANDCONFIG: |
|
||||
CONFIG_COVERAGE=n # Disable coverage otherwise build times out.
|
||||
|
||||
debian-13-x86_64-gcc:
|
||||
extends: .gcc-x86-64-build
|
||||
variables:
|
||||
CONTAINER: debian:13-x86_64
|
||||
|
||||
debian-13-x86_64-gcc-randconfig:
|
||||
extends: .gcc-x86-64-build
|
||||
variables:
|
||||
CONTAINER: debian:13-x86_64
|
||||
RANDCONFIG: y
|
||||
|
||||
debian-13-x86_32-clang-debug:
|
||||
extends: .clang-x86-32-build-debug
|
||||
variables:
|
||||
CONTAINER: debian:13-x86_32
|
||||
|
||||
debian-13-x86_32-gcc-debug:
|
||||
extends: .gcc-x86-32-build-debug
|
||||
variables:
|
||||
CONTAINER: debian:13-x86_32
|
||||
|
||||
fedora-41-x86_64-gcc:
|
||||
extends: .gcc-x86-64-build
|
||||
variables:
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
.qemu-x86-64:
|
||||
extends: .test-jobs-common
|
||||
variables:
|
||||
CONTAINER: debian:12-x86_64
|
||||
CONTAINER: debian:13-x86_64
|
||||
LOGFILE: qemu-smoke-x86-64.log
|
||||
artifacts:
|
||||
paths:
|
||||
@@ -661,35 +661,35 @@ qemu-smoke-x86-64-gcc:
|
||||
script:
|
||||
- ./automation/scripts/qemu-xtf.sh x86-64 pv64 example 2>&1 | tee ${LOGFILE}
|
||||
needs:
|
||||
- debian-12-x86_64-gcc-debug
|
||||
- debian-13-x86_64-gcc-debug
|
||||
|
||||
qemu-smoke-x86-64-clang:
|
||||
extends: .qemu-smoke-x86-64
|
||||
script:
|
||||
- ./automation/scripts/qemu-xtf.sh x86-64 pv64 example 2>&1 | tee ${LOGFILE}
|
||||
needs:
|
||||
- debian-12-x86_64-clang-debug
|
||||
- debian-13-x86_64-clang-debug
|
||||
|
||||
qemu-smoke-x86-64-gcc-pvh:
|
||||
extends: .qemu-smoke-x86-64
|
||||
script:
|
||||
- ./automation/scripts/qemu-xtf.sh x86-64 hvm64 example 2>&1 | tee ${LOGFILE}
|
||||
needs:
|
||||
- debian-12-x86_64-gcc-debug
|
||||
- debian-13-x86_64-gcc-debug
|
||||
|
||||
qemu-smoke-x86-64-clang-pvh:
|
||||
extends: .qemu-smoke-x86-64
|
||||
script:
|
||||
- ./automation/scripts/qemu-xtf.sh x86-64 hvm64 example 2>&1 | tee ${LOGFILE}
|
||||
needs:
|
||||
- debian-12-x86_64-clang-debug
|
||||
- debian-13-x86_64-clang-debug
|
||||
|
||||
qemu-smoke-x86-64-gcc-efi:
|
||||
extends: .qemu-smoke-x86-64
|
||||
script:
|
||||
- ./automation/scripts/qemu-xtf.sh x86-64-efi pv64 example 2>&1 | tee ${LOGFILE}
|
||||
needs:
|
||||
- debian-12-x86_64-gcc-debug
|
||||
- debian-13-x86_64-gcc-debug
|
||||
|
||||
qemu-xtf-argo-x86_64-gcc-debug:
|
||||
extends: .qemu-smoke-x86-64
|
||||
|
||||
@@ -35,7 +35,8 @@ case "_${CONTAINER}" in
|
||||
_bookworm-riscv64) CONTAINER="${BASE}/debian:12-riscv64" ;;
|
||||
_trixie-riscv64) CONTAINER="${BASE}/debian:13-riscv64" ;;
|
||||
_bookworm-x86_64-gcc-ibt) CONTAINER="${BASE}/debian:12-x86_64-gcc-ibt" ;;
|
||||
_bookworm|_bookworm-x86_64|_) CONTAINER="${BASE}/debian:12-x86_64" ;;
|
||||
_bookworm|_bookworm-x86_64) CONTAINER="${BASE}/debian:12-x86_64" ;;
|
||||
_trixie-x86_64|_) CONTAINER="${BASE}/debian:13-x86_64" ;;
|
||||
_bookworm-i386|_bookworm-x86_32) CONTAINER="${BASE}/debian:12-x86_32" ;;
|
||||
_bookworm-arm64v8-arm32-gcc) CONTAINER="${BASE}/debian:bookworm-arm64v8-arm32-gcc" ;;
|
||||
_bookworm-arm64v8) CONTAINER="${BASE}/debian:bookworm-arm64v8" ;;
|
||||
|
||||