From patchwork Thu Jun 27 13:30:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Tucker X-Patchwork-Id: 11019717 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F0DF13B4 for ; Thu, 27 Jun 2019 13:31:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3225028915 for ; Thu, 27 Jun 2019 13:31:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 266C528B3C; Thu, 27 Jun 2019 13:31:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 13EA728915 for ; Thu, 27 Jun 2019 13:31:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F9F26E334; Thu, 27 Jun 2019 13:31:19 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8633E6E334; Thu, 27 Jun 2019 13:31:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id 40A0F2877BF From: Guillaume Tucker To: Arkadiusz Hiler , Petri Latvala Date: Thu, 27 Jun 2019 14:30:58 +0100 Message-Id: <40326e43def140d19e0d57604e41aa10d1466f7a.1561642240.git.guillaume.tucker@collabora.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t] gitlab-ci: add tests for MIPS X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Ser, Simon" , igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Use the libatomic1:mips package only in the Debian Stretch Docker image for MIPS and add Gitlab CI step to run tests on MIPS. Signed-off-by: Guillaume Tucker Reviewed-by: Simon Ser --- .gitlab-ci.yml | 14 ++++++++++++++ Dockerfile.debian-mips | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37184b98f5da..665fbb79c523 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -173,6 +173,20 @@ test:ninja-test-armhf: - build when: on_failure +test:ninja-test-mips: + image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest + dependencies: + - build:tests-debian-meson-mips + stage: test + script: + - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/ + - env > build/envdump.txt + - ninja -C build test + artifacts: + paths: + - build + when: on_failure + test:test-list-diff: dependencies: - build:tests-debian-autotools diff --git a/Dockerfile.debian-mips b/Dockerfile.debian-mips index ebe08db644ea..ee29f5f4ccda 100644 --- a/Dockerfile.debian-mips +++ b/Dockerfile.debian-mips @@ -5,7 +5,6 @@ RUN apt-get install -y \ flex \ bison \ pkg-config \ - libatomic1 \ x11proto-dri2-dev \ python-docutils \ valgrind \ @@ -15,6 +14,7 @@ RUN dpkg --add-architecture mips RUN apt-get update RUN apt-get install -y \ gcc-mips-linux-gnu \ + libatomic1:mips \ libpciaccess-dev:mips \ libkmod-dev:mips \ libprocps-dev:mips \