|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v1 04/13] CI: enable XTF build jobs
On Wed, 4 Nov 2026, dmukhin@xxxxxxxx wrote:
> From: Denis Mukhin <dmukhin@xxxxxxxx>
>
> Build and publish XTF binaries to be consumed by test jobs.
>
> Signed-off-by: Denis Mukhin <dmukhin@xxxxxxxx>
> ---
> automation/gitlab-ci/build.yaml | 56 +++++++++++++++++++++++++++++++++
> 1 file changed, 56 insertions(+)
>
> diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml
> index 3d37e0b572d0..1f6228ba74ff 100644
> --- a/automation/gitlab-ci/build.yaml
> +++ b/automation/gitlab-ci/build.yaml
> @@ -288,6 +288,7 @@ alpine-3.24-x86_64-gcc-debug:
> CONFIG_ARGO=y
> CONFIG_UBSAN=y
> CONFIG_UBSAN_FATAL=y
> + CONFIG_SHADOW_PAGING=y
> CONFIG_MICROCODE_SCAN_DEFAULT=y
> CONFIG_XHCI=y
CONFIG_SHADOW_PAGING=y is not needed to run XTF
> @@ -297,6 +298,9 @@ debian-13-x86_64-gcc-debug:
> variables:
> CONTAINER: debian:13-x86_64
> EXTRA_XEN_CONFIG: |
> + CONFIG_EXPERT=y
> + CONFIG_UNSUPPORTED=y
> + CONFIG_ARGO=y
> CONFIG_SHADOW_PAGING=y
I see that you added this because some XTF tests require ARGO but I'd
prefer it in a separate patch
> debian-13-x86_64-clang-debug:
> @@ -305,6 +309,9 @@ debian-13-x86_64-clang-debug:
> variables:
> CONTAINER: debian:13-x86_64
> EXTRA_XEN_CONFIG: |
> + CONFIG_EXPERT=y
> + CONFIG_UNSUPPORTED=y
> + CONFIG_ARGO=y
> CONFIG_SHADOW_PAGING=y
>
> debian-13-ppc64le-gcc-debug:
> @@ -840,3 +847,52 @@ macos-26-arm64:
> variables:
> XEN_TARGET_ARCH: arm64
> CROSS_COMPILE: aarch64-elf-
> +
> +.xtf-common:
> + variables:
> + BUILD_QEMU_XEN: y
> + script:
> + - git clone ${XTF_URI} xtf-${ARCH} -b ${XTF_BRANCH}
> + - make -C xtf-${ARCH} -j$(nproc) ${XTF_CONFIG}
It is better to use a variable name other than ARCH such as XTF_ARCH
because ARCH is also used by the XTF build system and the string needs
to match exactly, for instance x86_64 doesn't work, only x86 works.
> + - DESTDIR=$(pwd) xtfdir=/binaries make -C xtf-${ARCH} ${XTF_CONFIG}
> install
> + artifacts:
> + paths:
> + - binaries/*
> +
> +xtf-arm64-gcc-debug:
> + extends:
> + - .gcc-arm64-build-debug
> + - .xtf-common
> + <<: *build-test
> + variables:
> + CONTAINER: alpine:3.24-arm64v8
> + ARCH: arm64
> + XTF_URI: https://gitlab.com/xen-project/fusa/xtf.git
> + XTF_BRANCH: xtf-arm
> + XTF_CONFIG: |
> + CONFIG_GICV2=y
> + CONFIG_SBSA_UART=y
> +
> +xtf-x86_64-gcc-debug:
> + extends:
> + - .gcc-x86_64-build-debug
> + - .xtf-common
> + <<: *build-test
> + variables:
> + CONTAINER: alpine:3.24-x86_64
> + ARCH: x86_64
> + XTF_URI: https://xenbits.xen.org/git-http/xtf.git
> + XTF_BRANCH: master
> + XTF_CONFIG:
> +
> +xtf-x86_64-clang-debug:
> + extends:
> + - .clang-x86_64-build-debug
> + - .xtf-common
> + <<: *build-test
> + variables:
> + CONTAINER: debian:13-x86_64
> + ARCH: x86_64
> + XTF_URI: https://xenbits.xen.org/git-http/xtf.git
> + XTF_BRANCH: master
> + XTF_CONFIG:
I think we need to pass LLVM= so that XTF actually builds with clang
> --
> 2.55.0
>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |