ci/zink: Fix library path

We need to set $LD_LIBRARY_PATH so we can find GL at all, and
$LIBGL_DRIVERS_PATH so Xvfb will pick up the correct DRI modules.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31281>
This commit is contained in:
Daniel Stone
2024-10-07 16:46:20 -04:00
committed by Marge Bot
parent 61f5178f6e
commit 4e3e84c240

View File

@@ -15,6 +15,8 @@ zink-lvp:
ZINK_DEBUG: validation
XVFB_SCRIPT: "VK_DRIVER=lvp install/deqp-runner.sh"
script: |
export LD_LIBRARY_PATH="$CI_PROJECT_DIR/install/lib"
export LIBGL_DRIVERS_PATH="$CI_PROJECT_DIR/install/lib/dri"
xvfb-run --server-args='-noreset' bash -c ". $SCRIPTS_DIR/setup-test-env.sh && ${XVFB_SCRIPT}"
zink-venus-lvp: