dbe9a9cdbb
A couple of clean-ups here: - inherit from the custom runners job for artefacts - call check-avocado directly - add some comments to the top about setup Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230315174331.2959-6-alex.bennee@linaro.org>
25 lines
719 B
YAML
25 lines
719 B
YAML
# All centos-stream-8 jobs should run successfully in an environment
|
|
# setup by the scripts/ci/setup/stream/8/build-environment.yml task
|
|
# "Installation of extra packages to build QEMU"
|
|
|
|
centos-stream-8-x86_64:
|
|
extends: .custom_runner_template
|
|
allow_failure: true
|
|
needs: []
|
|
stage: build
|
|
tags:
|
|
- centos_stream_8
|
|
- x86_64
|
|
rules:
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
- if: "$CENTOS_STREAM_8_x86_64_RUNNER_AVAILABLE"
|
|
before_script:
|
|
- JOBS=$(expr $(nproc) + 1)
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../scripts/ci/org.centos/stream/8/x86_64/configure
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
|
- make -j"$JOBS"
|
|
- make NINJA=":" check check-avocado
|