From 5752c31af1aec104db8326fc63c3f94cbbee3f9d Mon Sep 17 00:00:00 2001
From: Clayton Craft <clayton@craftyguy.net>
Date: Mon, 18 Nov 2024 10:19:26 -0800
Subject: [PATCH] DO NOT MERGE ci: run arm 64-bit and 32-bit build test jobs on
 aarch64 runners

This should work around this issue, at least for pmaports (where it's hit quite frequently):

https://gitlab.postmarketos.org/postmarketOS/postmarketos/-/issues/83

The downside of this is that there is (currently) only 1 aarch64 runner,
so CI pipelines may take a bit longer to complete than before. IMHO
that's better than having jobs that straight up fail (often multiple
times) and (for some MRs) effectively losing build testing for ARM stuff
pre-merge in gitlab CI.

We'll want to revert this when the above issue is resolved, to restore
the previous/higher CI throughput.
---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0701524abc7..ff5e97da517 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -154,11 +154,15 @@ build-x86:
     - .ci/build-x86.sh
 
 build-aarch64:
+  tags:
+    - aarch64
   extends: .build
   script:
     - .ci/build-aarch64.sh
 
 build-armv7:
+  tags:
+    - aarch64
   extends: .build
   script:
     - .ci/build-armv7.sh
-- 
GitLab