gitlab: add initial ppc64le custom-runner test
This is a plain configure build but I only run a subset of the tests until the kinks have been worked out. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20251117115523.3993105-13-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
497d3e87ce
commit
f65da9e690
3 changed files with 48 additions and 0 deletions
|
|
@ -31,3 +31,4 @@
|
|||
include:
|
||||
- local: '/.gitlab-ci.d/custom-runners/ubuntu-24.04-s390x.yml'
|
||||
- local: '/.gitlab-ci.d/custom-runners/ubuntu-24.04-aarch64.yml'
|
||||
- local: '/.gitlab-ci.d/custom-runners/debian-13-ppc64le.yml'
|
||||
|
|
|
|||
41
.gitlab-ci.d/custom-runners/debian-13-ppc64le.yml
Normal file
41
.gitlab-ci.d/custom-runners/debian-13-ppc64le.yml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# All jobs should run successfully in an environment setup by the
|
||||
# scripts/ci/setup/build-environment.yml task:
|
||||
# "Install basic packages to build QEMU on Ubuntu/Debian"
|
||||
|
||||
.debian_ppc64le_template:
|
||||
extends: .custom_runner_template
|
||||
needs: []
|
||||
stage: build
|
||||
tags:
|
||||
- debian_13
|
||||
- ppc64le
|
||||
rules:
|
||||
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /^staging/'
|
||||
- if: "$PPC64LE_RUNNER_AVAILABLE"
|
||||
before_script:
|
||||
- source scripts/ci/gitlab-ci-section
|
||||
- section_start setup "Pre-script setup"
|
||||
- JOBS=$(expr $(nproc) - 2)
|
||||
- section_end setup
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- section_start configure "Running configure"
|
||||
- ../configure $CONFIGURE_ARGS ||
|
||||
{ cat config.log meson-logs/meson-log.txt && exit 1; }
|
||||
- section_end configure
|
||||
- section_start build "Building QEMU"
|
||||
- make --output-sync -j"$JOBS"
|
||||
- section_end build
|
||||
- section_start test "Running tests"
|
||||
- if test -n "$MAKE_CHECK_ARGS";
|
||||
then
|
||||
make -j"$JOBS" $MAKE_CHECK_ARGS ;
|
||||
fi
|
||||
- section_end test
|
||||
|
||||
debian-13-ppc64le-default:
|
||||
extends: .debian_ppc64le_template
|
||||
variables:
|
||||
# qtest currently fails: https://gitlab.com/qemu-project/qemu/-/issues/3207
|
||||
MAKE_CHECK_ARGS: check-unit check-tcg check-softfloat
|
||||
|
|
@ -174,6 +174,12 @@ If you've got access to an IBM Z host that can be used as a gitlab-CI
|
|||
runner, you can set this variable to enable the tests that require this
|
||||
kind of host. The runner should be tagged with "s390x".
|
||||
|
||||
PPC64LE_RUNNER_AVAILABLE
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
If you've got access to an PPC64LE host that can be used as a gitlab-CI
|
||||
runner, you can set this variable to enable the tests that require this
|
||||
kind of host. The runner should be tagged with "ppc64le".
|
||||
|
||||
CCACHE_DISABLE
|
||||
~~~~~~~~~~~~~~
|
||||
The jobs are configured to use "ccache" by default since this typically
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue