mesa/.gitlab-ci/container/debian
Charlie Turner 79197dac58 ci: Build libdrm earlier for x86_test-vk
VK-CTS v1.2.7.0 has buggy tests that only work if DRM support is
available for them (drm_files_exist). This isn't exposed in the Mesa
CI by other farms, because their infra installs libdrm-dev as part
of either rootfs generation for freedreno/broadcom or respective
container stages (for lava). In the case of radv, we directly use the
x86 Mesa testing containers, so we are the odd ones out here.

By moving the building of the custom libdrm above the building of
vk-gl-cts, it will compile in support required for this test to pass,
ensuring the x86_test-vk container has the right dependencies to match
the rest of the CI. Lava actually installs drm development files
twice, once from the Debian repos, which vk-gl-cts then compiles
against, and a second time from a tarball, which the tests will use at
runtime. Seemed a little cleaner to use the version of libdrm
specified in the Mesa CI, and hence used at both build time and
runtime.

A bug should be raised with the testsuite to avoid this in the future,
but we should probably have libdrm development files exposed for these
components anyway.

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Martin Peres <martin.peres@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12777>
2021-09-13 13:31:20 +00:00
..
android_build.sh
arm_build.sh gitlab-ci: stop installing python-is-python3 package 2021-08-14 21:44:31 +00:00
arm_test.sh gitlab-ci: stop installing python-is-python3 package 2021-08-14 21:44:31 +00:00
i386_build.sh
ppc64el_build.sh
s390x_build.sh
x86_build-base.sh gitlab-ci: stop installing python-is-python3 package 2021-08-14 21:44:31 +00:00
x86_build.sh
x86_test-base.sh gitlab-ci: stop installing python-is-python3 package 2021-08-14 21:44:31 +00:00
x86_test-gl.sh ci: Increase the default Rust toolchain version 2021-08-03 14:24:08 +00:00
x86_test-vk.sh ci: Build libdrm earlier for x86_test-vk 2021-09-13 13:31:20 +00:00