public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] gitlab-ci: add tests for MIPS
@ 2019-06-27 13:30 Guillaume Tucker
  2019-06-27 14:51 ` Ser, Simon
  2019-06-28  6:46 ` Ser, Simon
  0 siblings, 2 replies; 4+ messages in thread
From: Guillaume Tucker @ 2019-06-27 13:30 UTC (permalink / raw)
  To: Arkadiusz Hiler, Petri Latvala; +Cc: Ser, Simon, igt-dev, intel-gfx

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 <guillaume.tucker@collabora.com>
---
 .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 \
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH i-g-t] gitlab-ci: add tests for MIPS
  2019-06-27 13:30 [PATCH i-g-t] gitlab-ci: add tests for MIPS Guillaume Tucker
@ 2019-06-27 14:51 ` Ser, Simon
  2019-06-28  6:47   ` Arkadiusz Hiler
  2019-06-28  6:46 ` Ser, Simon
  1 sibling, 1 reply; 4+ messages in thread
From: Ser, Simon @ 2019-06-27 14:51 UTC (permalink / raw)
  To: guillaume.tucker@collabora.com, Hiler, Arkadiusz, Latvala, Petri
  Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On Thu, 2019-06-27 at 14:30 +0100, Guillaume Tucker wrote:
> 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 <guillaume.tucker@collabora.com>

With this tag added:

Fixes: 439a9f5d615f ("gitlab-ci: add build for MIPS")

This patch is:

Reviewed-by: Simon Ser <simon.ser@intel.com>

> ---
>  .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 \
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH i-g-t] gitlab-ci: add tests for MIPS
  2019-06-27 13:30 [PATCH i-g-t] gitlab-ci: add tests for MIPS Guillaume Tucker
  2019-06-27 14:51 ` Ser, Simon
@ 2019-06-28  6:46 ` Ser, Simon
  1 sibling, 0 replies; 4+ messages in thread
From: Ser, Simon @ 2019-06-28  6:46 UTC (permalink / raw)
  To: guillaume.tucker@collabora.com, Hiler, Arkadiusz, Latvala, Petri
  Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On Thu, 2019-06-27 at 14:30 +0100, Guillaume Tucker wrote:
> 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 <guillaume.tucker@collabora.com>

And pushed:

To gitlab.freedesktop.org:drm/igt-gpu-tools.git
   3c4edeba35ac..5f6cf7070b24  master -> master

Thanks!

> ---
>  .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 \
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH i-g-t] gitlab-ci: add tests for MIPS
  2019-06-27 14:51 ` Ser, Simon
@ 2019-06-28  6:47   ` Arkadiusz Hiler
  0 siblings, 0 replies; 4+ messages in thread
From: Arkadiusz Hiler @ 2019-06-28  6:47 UTC (permalink / raw)
  To: Ser, Simon; +Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On Thu, Jun 27, 2019 at 05:51:32PM +0300, Ser, Simon wrote:
> On Thu, 2019-06-27 at 14:30 +0100, Guillaume Tucker wrote:
> > 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 <guillaume.tucker@collabora.com>
> 
> With this tag added:
> 
> Fixes: 439a9f5d615f ("gitlab-ci: add build for MIPS")
> 
> This patch is:
> 
> Reviewed-by: Simon Ser <simon.ser@intel.com>

Hey,

https://patchwork.freedesktop.org/series/62859/ and check GitLab.Pipeline

We will be running gitlab pipeline for everything pre-merge and if it
fails we will send out a email (currently we are testing this and no
emails are sent).

You can check the pieline status from patchwork at all times, even for
sucessful ones :-)

-- 
Cheers,
Arek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-28  6:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27 13:30 [PATCH i-g-t] gitlab-ci: add tests for MIPS Guillaume Tucker
2019-06-27 14:51 ` Ser, Simon
2019-06-28  6:47   ` Arkadiusz Hiler
2019-06-28  6:46 ` Ser, Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox