summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
blob: 068b0c4335be65b412bc91a8574cd84390a137d6 (plain) (blame)
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
29
30
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
   || { cat config.log meson-logs/meson-log.txt; exit 1; }
 - make -j"$JOBS"
 - make NINJA=":" check
   || { cat meson-logs/testlog.txt; exit 1; } ;
 - ../scripts/ci/org.centos/stream/8/x86_64/test-avocado