From aad6ebf0596f7eda6ea709f1c293ef5911ae8938 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Sat, 9 Aug 2025 21:05:11 +0100 Subject: [PATCH] CI: Update riscv64 to use Debian Trixie Everything works fine with Debian 13. Provide two new build jobs, and update both the randconfig the test jobs. Signed-off-by: Andrew Cooper Reviewed-by: Oleksii Kurochko --- automation/build/debian/13-riscv64.dockerfile | 37 +++++++++++++++++++ automation/gitlab-ci/build.yaml | 22 +++++++++-- automation/gitlab-ci/test.yaml | 2 +- automation/scripts/containerize | 1 + 4 files changed, 57 insertions(+), 5 deletions(-) create mode 100644 automation/build/debian/13-riscv64.dockerfile diff --git a/automation/build/debian/13-riscv64.dockerfile b/automation/build/debian/13-riscv64.dockerfile new file mode 100644 index 0000000000..d2736c657d --- /dev/null +++ b/automation/build/debian/13-riscv64.dockerfile @@ -0,0 +1,37 @@ +# 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 +ENV CROSS_COMPILE=riscv64-linux-gnu- +ENV XEN_TARGET_ARCH=riscv64 + +RUN <&1 | tee ${LOGFILE} needs: - - debian-12-riscv64-gcc-debug + - debian-13-riscv64-gcc-debug qemu-smoke-ppc64le-powernv9-gcc: extends: .qemu-ppc64le diff --git a/automation/scripts/containerize b/automation/scripts/containerize index 0953e0728c..340b6caaab 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -32,6 +32,7 @@ case "_${CONTAINER}" in _bullseye-ppc64le) CONTAINER="${BASE}/debian:11-ppc64le" ;; _bookworm-ppc64le) CONTAINER="${BASE}/debian:12-ppc64le" ;; _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-i386|_bookworm-x86_32) CONTAINER="${BASE}/debian:12-x86_32" ;;