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