Commit Graph

13 Commits

Author SHA1 Message Date
Michel Dänzer
e914fb16ad gitlab-ci: Install libnvidia-egl-wayland-dev package
In order to build-test the Xwayland eglstream code.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2020-01-06 15:52:33 +01:00
Michel Dänzer
a52122c7f2 gitlab-ci: Use sorted lists of distro packages, one per line
This will make it easier to review changes.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2020-01-06 15:52:31 +01:00
Michel Dänzer
37a64ede3b gitlab-ci: Strip down docker image contents more
Making the image significantly smaller.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2020-01-06 15:52:27 +01:00
Michel Dänzer
23b72d8e4b gitlab-ci: Use -j4 instead of -j$(proc)
The shared GitLab CI runners are configured for jobs making use of up
to 4 CPU cores, attempting to use more may overload them.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
2020-01-06 15:52:24 +01:00
Sven Joachim
a505ecba10 gitlab-ci: Add a manpage substitutions regression test
This catches the broken manpages in the autoconf build which appeared
after commit 2e497bf887 ("man: s/__/@/g") and were only partly
rectified by commit 0445705a8b ("man: Fix automake seddery").

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2019-10-04 10:34:38 +02:00
Eric Anholt
ce5242fa2e gitlab-ci: Build and install a current version of rendercheck.
For really testing glamor, we want it installed.  Use master instead
of whatever version is in repos, because we'll want to update when new
tests are added.

Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-28 13:55:22 -07:00
Eric Anholt
2a2f0ac3a9 gitlab-ci: Make shallow clones of git trees we'll be nuking at the end.
We only check out master, and delete .git when we're done, so save the
bandwidth.

Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-28 13:55:22 -07:00
Eric Anholt
0dc271690b gitlab-ci: Don't bother building piglit.
We don't use any of piglit's tests, just the framework.

Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-28 13:55:22 -07:00
Eric Anholt
8c1dac5f83 gitlab-ci: Install Mesa so we can test glamor.
We need the DRI swrast driver (for GLX in vfb), and also libgl (for
libepoxy in glamor)

Signed-off-by: Eric Anholt <eric@anholt.net>
2019-03-28 13:55:22 -07:00
Benjamin Tissoires
f706972309 CI: use wayland-ci-templates to manage the images
There shouldn't be a difference for users, but this way we do manage
all of our containers from freedesktop.org

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2019-03-27 17:06:53 +01:00
Michel Dänzer
537f06e21e gitlab-ci: Add ccache to docker image, and leave in autotools
We're going to make use of these in build & test jobs.
2019-02-19 18:16:16 +01:00
Michel Dänzer
4aaaf69229 test: Use .../piglit instead of .../piglit-*.py
The latter use Python 2 and break with any non-ASCII characters in the
environment, the former uses Python 3 and works fine in that case.

Reviewed-by: Eric Anholt <eric@anholt.net>
2018-12-17 17:52:39 +01:00
Michel Dänzer
f56d8e2282 gitlab-ci: Docker image can be generated as part of pipeline
This removes the dependency on an externally generated docker image, and
should make it easier to update the docker image or make other changes
related to it.

This is based on Debian testing, because I'm most familiar with Debian.
But it should be easy to base it on another distro.

v2:
* Use kaniko instead of docker-in-docker for image generation, so it can
  also work in unprivileged runners.
* Drop piglit.conf & tetexec.cfg overrides, just make sure the files in
  the image work.
2018-12-17 17:40:08 +01:00