aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
blob: 367424db781db9225f9e40a959da5cb1b33c1f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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