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 20.04"
4
5ubuntu-22.04-aarch32-all:
6 extends: .custom_artifacts_template
7 needs: []
8 stage: build
9 tags:
10 - ubuntu_22.04
11 - aarch32
12 rules:
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14   when: manual
15   allow_failure: true
16 - if: "$AARCH32_RUNNER_AVAILABLE"
17   when: manual
18   allow_failure: true
19 script:
20 - mkdir build
21 - cd build
22 - ../configure --cross-prefix=arm-linux-gnueabihf-
23   || { cat config.log meson-logs/meson-log.txt; exit 1; }
24 - make --output-sync -j`nproc --ignore=40`
25 - make --output-sync -j`nproc --ignore=40` check
26