aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml')
-rw-r--r--.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
new file mode 100644
index 0000000000..1a2f9b8dbe
--- /dev/null
+++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
@@ -0,0 +1,25 @@
+# All ubuntu-22.04 jobs should run successfully in an environment
+# setup by the scripts/ci/setup/qemu/build-environment.yml task
+# "Install basic packages to build QEMU on Ubuntu 20.04"
+
+ubuntu-22.04-aarch32-all:
+ needs: []
+ stage: build
+ tags:
+ - ubuntu_22.04
+ - aarch32
+ rules:
+ - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
+ when: manual
+ allow_failure: true
+ - if: "$AARCH32_RUNNER_AVAILABLE"
+ when: manual
+ allow_failure: true
+ script:
+ - mkdir build
+ - cd build
+ - ../configure --cross-prefix=arm-linux-gnueabihf-
+ || { cat config.log meson-logs/meson-log.txt; exit 1; }
+ - make --output-sync -j`nproc --ignore=40`
+ - make --output-sync -j`nproc --ignore=40` check V=1
+ || { cat meson-logs/testlog.txt; exit 1; } ;