Commit Graph

24 Commits

Author SHA1 Message Date
Olivier Fourdan 84897891e5 ci: Install libxcvt from git
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2021-08-06 11:29:29 +00:00
Povilas Kanapickas 2acde60147 .gitlab-ci: Install xorgproto 2021.4.99.2 from git
This is required for the support of upcoming XI 2.4 protocol.

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-05-30 13:26:28 +03:00
Jon Turney d3933a24d1 CI: Add an x86 MinGW-w64 cross build
Only cross-build for x86 MinGW-w64, as x64 MinGW-w64 will probably
require fixing LLP64 issues.

I don't know any source for pre-built cross-dependencies of the X
server, so build these from git.

Don't build with GLX enabled, so I don't have to deal with
cross-building mesa and it's dependencies, for the moment.
2021-04-24 19:43:00 +01:00
Michel Dänzer f08ab719df ci: Test ninja dist in meson jobs
While this isn't critical yet, it might become so at some point, so
let's make sure it keeps working.

Don't set the PIGLIT/XTEST_DIR variables for ninja dist, testing XTS
once against each DDX is enough (as part of ninja test).

Requires git in the docker image.

v2:
* Drop /usr/local/bin/xkbcomp symlink, no longer needed with xkbcomp
  1.4.1 (Peter Hutterer)
2021-01-22 17:03:16 +00:00
Michel Dänzer 099eb6261c ci: Build xkbcomp 1.4.1 for the docker image
This is a requirement for testing meson dist in CI.
2021-01-22 17:03:16 +00:00
Michel Dänzer 250db8708a xwayland: Add and hook up test script
It runs XTS via piglit on (non-rootless) Xwayland on weston using the
headless backend.

Xwayland might use glamor if enabled in the build, but we're making sure
it uses software rendering.

v2:
* Use weston-info to wait for weston to be ready, instead of just a
  fixed sleep. (Martin Peres)
v3:
* Build wayland 1.18 & weston 9.0 locally, since the packages in Debian
  buster are too old for current Xwayland.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17 18:21:37 +01:00
Michel Dänzer 821399a9c9 ci: Base docker image on Debian buster instead of testing
By its nature, testing incurs a risk of breaking something every time
we bump the image.

This requires building wayland-protocols locally, since the package in
buster is too old for current Xwayland.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17 18:20:52 +01:00
Michel Dänzer 852d6d4910 ci: Explicitly list packages needed to build xserver
Instead of relying on apt-get build-dep.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17 18:19:17 +01:00
Michel Dänzer 8469935fe2 ci: Use a variable for ephemeral packages
So that they only need to be listed once.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17 18:18:20 +01:00
Michel Dänzer 996ba1b99a ci: Remove rendercheck Git tree
Noticed this was missing while making changes in this area.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-17 18:18:05 +01:00
Michel Dänzer 9a7515943f ci: Use $FDO_CI_CONCURRENT if set
To take advantage of more than 4 CPU cores available to the container.

Acked-by: Olivier Fourdan <ofourdan@redhat.com>
2020-11-12 18:35:45 +01:00
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