mesa/.gitlab-ci/container
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
..
debian ci: Build libdrm earlier for x86_test-vk 2021-09-13 13:31:20 +00:00
fedora ci: Add Fedora 34 based x86 build docker image 2021-07-09 10:24:41 +00:00
arm.config ci: Use a single kernel+rootfs for both baremetal and LAVA jobs 2021-04-20 07:26:51 +00:00
arm64.config ci: Update kernel to v5.13-rc2 2021-05-19 06:56:19 +00:00
baremetal_build.sh ci: Update to latest ci-templates 2021-04-14 13:05:08 +00:00
build-apitrace.sh ci: Uprev apitrace to 170424754bb4 "retrace: Get --loop to work without rewinding" 2021-05-26 18:20:19 +00:00
build-crosvm.sh ci: Increase crosvm version 2021-08-03 14:24:08 +00:00
build-deqp-runner.sh ci: Uprev deqp-runner and use "suite" support to merge softpipe runs. 2021-08-03 18:32:01 +00:00
build-deqp.sh ci: update to VK-GL-CTS 1.2.7.0 2021-07-30 20:02:13 +00:00
build-fossilize.sh ci: Move docker images from Debian buster to bullseye 2021-04-14 13:05:08 +00:00
build-gfxreconstruct.sh ci: build gfxreconstruct v0.9.5 2021-02-17 19:10:42 +00:00
build-hang-detection.sh ci: build the hang-detection tool into x86_test-vk 2021-06-02 16:30:57 +00:00
build-kernel.sh ci: Move Kernel build tasks into its own file 2021-06-09 19:14:00 +00:00
build-libclc.sh ci: Install llvm-spirv from Debian bullseye 2021-04-14 13:05:08 +00:00
build-libdrm.sh meson: Bump libdrm for amdgpu to 2.4.107. 2021-07-05 17:27:51 +00:00
build-piglit.sh ci: Uprev piglit to 99be1b06ff36 2021-09-10 18:15:45 +00:00
build-rust.sh ci: Increase the default Rust toolchain version 2021-08-03 14:24:08 +00:00
build-virglrenderer.sh ci: bump to latest virglrenderer for anisotropic support 2021-08-04 10:49:55 +00:00
build-vkd3d-proton.sh ci: include VKD3D-Proton tests into the VK test container 2021-05-25 17:03:25 +00:00
container_post_build.sh ci: Add Fedora 34 based x86 build docker image 2021-07-09 10:24:41 +00:00
container_pre_build.sh ci: Add Fedora 34 based x86 build docker image 2021-07-09 10:24:41 +00:00
create-android-cross-file.sh ci: Move container files into their own dir 2021-02-08 14:19:06 +00:00
create-android-ndk-pc.sh ci: Move container files into their own dir 2021-02-08 14:19:06 +00:00
create-cross-file.sh ci: Move container files into their own dir 2021-02-08 14:19:06 +00:00
create-rootfs.sh ci: bare-metal: drop webdav support 2021-06-29 18:37:55 +00:00
cross_build.sh ci: Move docker images from Debian buster to bullseye 2021-04-14 13:05:08 +00:00
lava_build.sh ci: enable CI for lima again 2021-08-17 11:22:59 +00:00
x86_64.config ci: Build Crosvm in our container 2021-06-09 19:14:00 +00:00