public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: IGT development <igt-dev@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Subject: [igt-dev] [PATCH i-g-t] gitlab-CI: Enbable arm64 test target
Date: Mon, 26 Nov 2018 15:36:02 +0100	[thread overview]
Message-ID: <20181126143602.20440-1-daniel.vetter@ffwll.ch> (raw)

Our gitlab no supports binfmt-misc running of forgein binaries:

https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/91

Only thing missing is that we also need to install qemu-user-static,
since binfmt-misc wants to run that binary from our namespace.

Big kudos to Daniel for setting this up.

Example run on my stuff branch:

https://gitlab.freedesktop.org/danvet/igt-gpu-tools/-/jobs/50307

Cc: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 .gitlab-ci.yml          | 1 -
 Dockerfile.debian-arm64 | 3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6c886a06eb1..0e55e3157a69 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -93,7 +93,6 @@ test:ninja-test:
   script: ninja -C build test
 
 test:ninja-test-arm64:
-  when: manual
   image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64:latest
   dependencies:
     - build:tests-debian-meson-arm64
diff --git a/Dockerfile.debian-arm64 b/Dockerfile.debian-arm64
index 20c2e8b30663..e4905a22d46c 100644
--- a/Dockerfile.debian-arm64
+++ b/Dockerfile.debian-arm64
@@ -35,7 +35,8 @@ RUN apt-get install -y \
 RUN apt-get install -t stretch-backports -y \
 					meson \
 					libdrm-dev:arm64 \
-					qemu-user
+					qemu-user \
+					qemu-user-static
 
 # autotools build deps
 RUN apt-get install -y \
-- 
2.19.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

             reply	other threads:[~2018-11-26 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 14:36 Daniel Vetter [this message]
2018-11-26 15:53 ` [igt-dev] ✓ Fi.CI.BAT: success for gitlab-CI: Enbable arm64 test target Patchwork
2018-11-26 20:11 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-11-26 21:07 ` [igt-dev] [PATCH i-g-t] " Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181126143602.20440-1-daniel.vetter@ffwll.ch \
    --to=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox