aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
blob: 49aa703f55cd56a20e1271c183d5cb527d72f1de (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
25
26
27
28
centos-stream-8-x86_64:
 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"
 artifacts:
   name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
   when: on_failure
   expire_in: 7 days
   paths:
     - build/tests/results/latest/results.xml
     - build/tests/results/latest/test-results
   reports:
     junit: build/tests/results/latest/results.xml
 before_script:
 - JOBS=$(expr $(nproc) + 1)
 script:
 - mkdir build
 - cd build
 - ../scripts/ci/org.centos/stream/8/x86_64/configure
 - make -j"$JOBS"
 - make NINJA=":" check
 - ../scripts/ci/org.centos/stream/8/x86_64/test-avocado