[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 1/3] CI: Update ppc64 to use Debian Trixie
Everything works fine with Debian 13. Provide two new build jobs (for a total of 6), and update the test job. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- CC: Anthony PERARD <anthony.perard@xxxxxxxxxx> CC: Michal Orzel <michal.orzel@xxxxxxx> CC: Jan Beulich <jbeulich@xxxxxxxx> CC: Julien Grall <julien@xxxxxxx> CC: Roger Pau Monné <roger.pau@xxxxxxxxxx> CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> CC: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> CC: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> v2: * Update containerize https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2032972883 --- automation/build/debian/13-ppc64le.dockerfile | 37 +++++++++++++++++++ automation/gitlab-ci/build.yaml | 18 ++++++++- automation/gitlab-ci/test.yaml | 2 +- automation/scripts/containerize | 1 + 4 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 automation/build/debian/13-ppc64le.dockerfile diff --git a/automation/build/debian/13-ppc64le.dockerfile b/automation/build/debian/13-ppc64le.dockerfile new file mode 100644 index 000000000000..5b22a4545842 --- /dev/null +++ b/automation/build/debian/13-ppc64le.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@xxxxxxxxxxxxxxxxxxxx" + +ENV DEBIAN_FRONTEND=noninteractive +ENV CROSS_COMPILE=powerpc64le-linux-gnu- +ENV XEN_TARGET_ARCH=ppc64 + +RUN <<EOF +#!/bin/bash + set -e + + useradd --create-home user + + apt-get update + + DEPS=( + # Xen + bison + build-essential + checkpolicy + flex + gcc-powerpc64le-linux-gnu + python3-minimal + + # Qemu for test phase + qemu-system-ppc + expect + ) + + apt-get -y --no-install-recommends install "${DEPS[@]}" + rm -rf /var/lib/apt/lists/* +EOF + +USER user +WORKDIR /build diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index c0728e58c48b..f8e45f3467c8 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -319,10 +319,10 @@ debian-12-x86_64-clang-debug: variables: CONTAINER: debian:12-x86_64 -debian-12-ppc64le-gcc-debug: +debian-13-ppc64le-gcc-debug: extends: .gcc-ppc64le-cross-build-debug variables: - CONTAINER: debian:12-ppc64le + CONTAINER: debian:13-ppc64le KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y EXTRA_XEN_CONFIG: | @@ -705,6 +705,20 @@ debian-12-ppc64le-gcc: KBUILD_DEFCONFIG: ppc64_defconfig HYPERVISOR_ONLY: y +debian-12-ppc64le-gcc-debug: + extends: .gcc-ppc64le-cross-build-debug + variables: + CONTAINER: debian:12-ppc64le + KBUILD_DEFCONFIG: ppc64_defconfig + HYPERVISOR_ONLY: y + +debian-13-ppc64le-gcc: + extends: .gcc-ppc64le-cross-build + variables: + CONTAINER: debian:13-ppc64le + KBUILD_DEFCONFIG: ppc64_defconfig + HYPERVISOR_ONLY: y + # RISC-V 64 cross-build debian-12-riscv64-gcc: extends: .gcc-riscv64-cross-build diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 95b883b32bb6..9acd984d294c 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -712,4 +712,4 @@ qemu-smoke-ppc64le-powernv9-gcc: script: - ./automation/scripts/qemu-smoke-ppc64le.sh powernv9 2>&1 | tee ${LOGFILE} needs: - - debian-12-ppc64le-gcc-debug + - debian-13-ppc64le-gcc-debug diff --git a/automation/scripts/containerize b/automation/scripts/containerize index 340b6caaab44..65c8804ce5f3 100755 --- a/automation/scripts/containerize +++ b/automation/scripts/containerize @@ -31,6 +31,7 @@ case "_${CONTAINER}" in _fedora) CONTAINER="${BASE}/fedora:41-x86_64";; _bullseye-ppc64le) CONTAINER="${BASE}/debian:11-ppc64le" ;; _bookworm-ppc64le) CONTAINER="${BASE}/debian:12-ppc64le" ;; + _trixie-ppc64le) CONTAINER="${BASE}/debian:13-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" ;; -- 2.39.5
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |