| # 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 |