master
yml 45 lines 1.52 KB
Raw
1 # All jobs should run successfully in an environment setup by the
2 # scripts/ci/setup/build-environment.yml task:
3 # "Install basic packages to build QEMU on Ubuntu/Debian"
4
5 .debian_ppc64le_template:
6 extends: .custom_runner_template
7 needs: []
8 stage: build
9 tags:
10 - debian_13
11 - ppc64le
12 rules:
13 - if: '$CI_PROJECT_NAMESPACE == $QEMU_CI_UPSTREAM && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: '$QEMU_CI != "1" && $QEMU_CI != "2" && $CI_PROJECT_NAMESPACE != $QEMU_CI_UPSTREAM'
15 when: never
16 - if: '$PPC64LE_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule" && $QEMU_CI == "1"'
17 when: manual
18 - if: '$PPC64LE_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule"'
19 before_script:
20 - source scripts/ci/gitlab-ci-section
21 - section_start setup "Pre-script setup"
22 - JOBS=$(expr $(nproc) - 2)
23 - section_end setup
24 script:
25 - mkdir build
26 - cd build
27 - section_start configure "Running configure"
28 - ../configure $CONFIGURE_ARGS ||
29 { cat config.log meson-logs/meson-log.txt && exit 1; }
30 - section_end configure
31 - section_start build "Building QEMU"
32 - make --output-sync -j"$JOBS"
33 - section_end build
34 - section_start test "Running tests"
35 - if test -n "$MAKE_CHECK_ARGS";
36 then
37 make -j"$JOBS" $MAKE_CHECK_ARGS ;
38 fi
39 - section_end test
40
41 debian-13-ppc64le-default:
42 extends: .debian_ppc64le_template
43 variables:
44 # qtest currently fails: https://gitlab.com/qemu-project/qemu/-/issues/3207
45 MAKE_CHECK_ARGS: check-unit check-tcg check-softfloat