[igt-dev] [PATCH i-g-t] gitlab-CI: Enbable arm64 test target

Daniel Vetter daniel at ffwll.ch
Mon Nov 26 21:07:51 UTC 2018


On Mon, Nov 26, 2018 at 03:36:02PM +0100, Daniel Vetter wrote:
> 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 at fooishbar.org>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>

from #dri-devel:

<seanpaul> danvet: r-b on that ci patch

> ---
>  .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
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the igt-dev mailing list