master
yml 90 lines 2.6 KB
Raw
1 # All ubuntu-24.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 24.04"
4
5 .ubuntu_aarch64_template:
6 extends: .custom_runner_template
7 needs: []
8 stage: build
9 tags:
10 - ubuntu_24.04
11 - aarch64
12 rules:
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: '$QEMU_CI != "1" && $QEMU_CI != "2" && $CI_PROJECT_NAMESPACE != $QEMU_CI_UPSTREAM'
15 when: never
16 - if: '$AARCH64_RUNNER_AVAILABLE && $CI_PIPELINE_SOURCE != "schedule" && $QEMU_CI == "1"'
17 when: manual
18 - if: '$AARCH64_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) - 4)
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 ubuntu-24.04-aarch64-all-linux-static:
42 extends: .ubuntu_aarch64_template
43 variables:
44 CONFIGURE_ARGS: --enable-debug --static --disable-system
45 MAKE_CHECK_ARGS: check-tcg
46
47 ubuntu-24.04-aarch64-all:
48 extends: .ubuntu_aarch64_template
49 variables:
50 MAKE_CHECK_ARGS: check
51 allow_failure: true
52 when: manual
53
54 ubuntu-24.04-aarch64-without-defaults:
55 extends: .ubuntu_aarch64_template
56 variables:
57 CONFIGURE_ARGS: --disable-user --without-default-devices --without-default-features
58 MAKE_CHECK_ARGS: check
59 allow_failure: true
60 when: manual
61
62 ubuntu-24.04-aarch64-alldbg:
63 extends: .ubuntu_aarch64_template
64 variables:
65 CONFIGURE_ARGS: --enable-debug
66 MAKE_CHECK_ARGS: check-tcg
67
68 ubuntu-24.04-aarch64-clang:
69 extends: .ubuntu_aarch64_template
70 variables:
71 CONFIGURE_ARGS: --cc=clang --cxx=clang++ --enable-ubsan
72 MAKE_CHECK_ARGS: check
73 allow_failure: true
74 when: manual
75
76 ubuntu-24.04-aarch64-tci:
77 extends: .ubuntu_aarch64_template
78 variables:
79 CONFIGURE_ARGS: --enable-tcg-interpreter
80 MAKE_CHECK_ARGS: check
81 allow_failure: true
82 when: manual
83
84 ubuntu-24.04-aarch64-notcg:
85 extends: .ubuntu_aarch64_template
86 variables:
87 CONFIGURE_ARGS: --disable-tcg --with-devices-aarch64=minimal
88 MAKE_CHECK_ARGS: check
89 allow_failure: true
90 when: manual