87168ef049
The base job template is responsible for controlling how we kick off testing on our various branches. Rename and extend the custom_runner_template so we can take advantage of all that control. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230228190653.1602033-7-alex.bennee@linaro.org>
26 lines
753 B
YAML
26 lines
753 B
YAML
# All ubuntu-22.04 jobs should run successfully in an environment
|
|
# setup by the scripts/ci/setup/qemu/build-environment.yml task
|
|
# "Install basic packages to build QEMU on Ubuntu 20.04"
|
|
|
|
ubuntu-22.04-aarch32-all:
|
|
extends: .custom_runner_template
|
|
needs: []
|
|
stage: build
|
|
tags:
|
|
- ubuntu_22.04
|
|
- aarch32
|
|
rules:
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
when: manual
|
|
allow_failure: true
|
|
- if: "$AARCH32_RUNNER_AVAILABLE"
|
|
when: manual
|
|
allow_failure: true
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../configure --cross-prefix=arm-linux-gnueabihf-
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
|
- make --output-sync -j`nproc --ignore=40`
|
|
- make --output-sync -j`nproc --ignore=40` check
|