gitlab CI: add support for DRM-backend tests
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Wed, 3 Jun 2020 13:02:34 +0000 (10:02 -0300)
committerPekka Paalanen <pq@iki.fi>
Thu, 25 Jun 2020 10:17:31 +0000 (10:17 +0000)
commita12ba0b30a911d57d3d564298a149a03aa7f2592
tree71bb57742b14d62e126a7dba6141616d875f0141
parent887a7e5717275c0dec007e6128298d5956c70891
gitlab CI: add support for DRM-backend tests

In order to run DRM-backend tests, a DRM-device is needed. As we
do not necessarily have control of the hardware that is going to
run our tests in GitLab CI, DRM-backend tests were being skipped.
This patch add support to run the tests using VKMS (virtual KMS).
To achieve this, virtualization is needed, as we need to run a
custom kernel during the CI job. We've decided to go with virtme,
as it is simpler to setup and works good for our use case.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
.gitlab-ci.yml
.gitlab-ci/debian-install.sh
.gitlab-ci/virtme-scripts/run-weston-tests.sh [new file with mode: 0755]