Mesa (master): ci: document arm oddity in build-rules

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 11 09:28:27 UTC 2021


Module: Mesa
Branch: master
Commit: 72709c2bcef02001d5cba1c56b6acf27acedbf67
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=72709c2bcef02001d5cba1c56b6acf27acedbf67

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Feb 10 19:19:35 2021 +0100

ci: document arm oddity in build-rules

There's an oddity in the .lava-test:amd64 build rules; we depend on and
use the ARM images instead of the AMD64 images. The reason for this is
kind of silly; we need the Docker image to match the architecture of the
runner, which happens to be ARM.

So this isn't at all about the target architecture, but more of a Docker
detail.

Hopefully documenting this will prevent others from spending time being
puzzled about this in the future.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8967>

---

 .gitlab-ci/lava-gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml
index 1322e1e5f00..8da2855f545 100644
--- a/.gitlab-ci/lava-gitlab-ci.yml
+++ b/.gitlab-ci/lava-gitlab-ci.yml
@@ -133,11 +133,11 @@ kernel+rootfs_armhf:
     TEST_SUITE: "deqp"
   extends:
     - .use-x86_build-base # for same $MESA_BASE_TAG as in kernel+rootfs_amd64
-    - .use-arm_build
+    - .use-arm_build # ARM because it must match the architecture of the runner
     - .lava-test
   needs:
     - kernel+rootfs_amd64
-    - arm_build
+    - arm_build # ARM because it must match the architecture of the runner
     - meson-testing
 
 .lava-traces-base:



More information about the mesa-commit mailing list