ci/android: set VK_DRIVER_FILES before launching cuttlefish

Cuttlefish performs some checks on the host system before launching,
setting VK_DRIVER_FILES to the path of the host artifacts makes sure
that a vulkan library can be found on the host side.

Reviewed-by: Eric Engestrom <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30895>
This commit is contained in:
Antonio Ospite 2024-11-14 16:51:27 +01:00 committed by Marge Bot
parent d93626a84b
commit 44caff4aba

View file

@ -12,6 +12,12 @@ export PATH=/cuttlefish/bin:$PATH
export LD_LIBRARY_PATH=/cuttlefish/lib64:${CI_PROJECT_DIR}/install/lib:$LD_LIBRARY_PATH
export EGL_PLATFORM=surfaceless
# Pick up a vulkan driver
#
# TODO: the vulkan driver should probably be controlled by a variable in the
# .test-android job or in derived jobs
export VK_DRIVER_FILES=${CI_PROJECT_DIR}/install/share/vulkan/icd.d/
syslogd
chown root:kvm /dev/kvm