1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/qemu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 22.04"
5 ubuntu-22.04-aarch64-all-linux-static:
6 extends: .custom_runner_template
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$AARCH64_RUNNER_AVAILABLE"
18 # Disable -static-pie due to build error with system libc:
19 # https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438
20 - ../configure --enable-debug --static --disable-system --disable-pie
21 || { cat config.log meson-logs/meson-log.txt; exit 1; }
22 - make --output-sync -j`nproc --ignore=40`
24 - make --output-sync -j`nproc --ignore=40` check
26 ubuntu-22.04-aarch64-all:
27 extends: .custom_runner_template
34 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
37 - if: "$AARCH64_RUNNER_AVAILABLE"
44 || { cat config.log meson-logs/meson-log.txt; exit 1; }
45 - make --output-sync -j`nproc --ignore=40`
46 - make --output-sync -j`nproc --ignore=40` check
48 ubuntu-22.04-aarch64-without-defaults:
49 extends: .custom_runner_template
56 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
59 - if: "$AARCH64_RUNNER_AVAILABLE"
65 - ../configure --disable-user --without-default-devices --without-default-features
66 || { cat config.log meson-logs/meson-log.txt; exit 1; }
67 - make --output-sync -j`nproc --ignore=40`
68 - make --output-sync -j`nproc --ignore=40` check
70 ubuntu-22.04-aarch64-alldbg:
71 extends: .custom_runner_template
78 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
79 - if: "$AARCH64_RUNNER_AVAILABLE"
83 - ../configure --enable-debug
84 || { cat config.log meson-logs/meson-log.txt; exit 1; }
86 - make --output-sync -j`nproc --ignore=40`
87 - make --output-sync -j`nproc --ignore=40` check
89 ubuntu-22.04-aarch64-clang:
90 extends: .custom_runner_template
97 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
100 - if: "$AARCH64_RUNNER_AVAILABLE"
106 - ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
107 || { cat config.log meson-logs/meson-log.txt; exit 1; }
108 - make --output-sync -j`nproc --ignore=40`
109 - make --output-sync -j`nproc --ignore=40` check
111 ubuntu-22.04-aarch64-tci:
118 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
121 - if: "$AARCH64_RUNNER_AVAILABLE"
127 - ../configure --enable-tcg-interpreter
128 || { cat config.log meson-logs/meson-log.txt; exit 1; }
129 - make --output-sync -j`nproc --ignore=40`
131 ubuntu-22.04-aarch64-notcg:
132 extends: .custom_runner_template
139 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
142 - if: "$AARCH64_RUNNER_AVAILABLE"
148 - ../configure --disable-tcg
149 || { cat config.log meson-logs/meson-log.txt; exit 1; }
150 - make --output-sync -j`nproc --ignore=40`
151 - make --output-sync -j`nproc --ignore=40` check