mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
In addition to not being triggered by schedule we should follow the same rules about QEMU_CI. One day we may figure out how to fold the custom runner rules into the .base_job_template but today is not that day. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20251117115523.3993105-17-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
90 lines
2.4 KiB
YAML
90 lines
2.4 KiB
YAML
# All ubuntu-24.04 jobs should run successfully in an environment
|
|
# setup by the scripts/ci/setup/ubuntu/build-environment.yml task
|
|
# "Install basic packages to build QEMU on Ubuntu 24.04"
|
|
|
|
.ubuntu_s390x_template:
|
|
extends: .custom_runner_template
|
|
needs: []
|
|
stage: build
|
|
tags:
|
|
- ubuntu_24.04
|
|
- s390x
|
|
rules:
|
|
- if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
- if: '$QEMU_CI != "1" && $QEMU_CI != "2" && $CI_PROJECT_NAMESPACE != $QEMU_CI_UPSTREAM'
|
|
when: never
|
|
- if: '$S390X_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule" && $QEMU_CI == "1"'
|
|
when: manual
|
|
- if: '$S390X_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule"'
|
|
before_script:
|
|
- source scripts/ci/gitlab-ci-section
|
|
- section_start setup "Pre-script setup"
|
|
- JOBS=$(expr $(nproc) - 1)
|
|
- 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
|
|
|
|
ubuntu-24.04-s390x-all-linux:
|
|
extends: .ubuntu_s390x_template
|
|
needs: []
|
|
variables:
|
|
CONFIGURE_ARGS: --enable-debug --disable-system --disable-tools --disable-docs
|
|
MAKE_CHECK_ARGS: check-tcg check
|
|
|
|
ubuntu-24.04-s390x-all-system:
|
|
extends: .ubuntu_s390x_template
|
|
needs: []
|
|
variables:
|
|
CONFIGURE_ARGS: --disable-user
|
|
MAKE_CHECK_ARGS: check
|
|
allow_failure: true
|
|
|
|
ubuntu-24.04-s390x-alldbg:
|
|
extends: .ubuntu_s390x_template
|
|
needs: []
|
|
variables:
|
|
CONFIGURE_ARGS: --enable-debug
|
|
MAKE_CHECK_ARGS: check
|
|
allow_failure: true
|
|
when: manual
|
|
|
|
ubuntu-24.04-s390x-clang:
|
|
extends: .ubuntu_s390x_template
|
|
needs: []
|
|
variables:
|
|
CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-ubsan
|
|
MAKE_CHECK_ARGS: check
|
|
allow_failure: true
|
|
when: manual
|
|
|
|
ubuntu-24.04-s390x-tci:
|
|
extends: .ubuntu_s390x_template
|
|
needs: []
|
|
variables:
|
|
CONFIGURE_ARGS: --enable-tcg-interpreter
|
|
allow_failure: true
|
|
when: manual
|
|
|
|
ubuntu-24.04-s390x-notcg:
|
|
extends: .ubuntu_s390x_template
|
|
needs: []
|
|
variables:
|
|
CONFIGURE_ARGS: --disable-tcg
|
|
MAKE_CHECK_ARGS: check
|
|
allow_failure: true
|
|
when: manual
|