Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/scripts/ci
diff options
context:
space:
mode:
authorgrbr404 <166065505+grbr404@users.noreply.github.com>2025-05-09 18:03:46 +0200
committerGitHub <noreply@github.com>2025-05-09 18:03:46 +0200
commit759b0ff829d5644176804fa75c9b37a09fed8e80 (patch)
treeb8033c02d0c9d22b98cdbb03d543a7aca9bf4dd1 /scripts/ci
parent682267e765f6d7c8314e31056e68c498819d524c (diff)
Update run-client.sh
zink check now uses all environment variables for check and only use one export function
Diffstat (limited to 'scripts/ci')
-rwxr-xr-xscripts/ci/linux/run-client.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/ci/linux/run-client.sh b/scripts/ci/linux/run-client.sh
index 014c2f6..ad031f5 100755
--- a/scripts/ci/linux/run-client.sh
+++ b/scripts/ci/linux/run-client.sh
@@ -3,11 +3,9 @@
# Check for Vulkan support
if command -v vulkaninfo &> /dev/null; then
# Check for Zink support
- if MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo | grep -q 'renderer string.*zink'; then
+ if __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink glxinfo | grep -q 'renderer string: zink'; then
# Set environment variables for Zink
- export __GLX_VENDOR_LIBRARY_NAME=mesa
- export MESA_LOADER_DRIVER_OVERRIDE=zink
- export GALLIUM_DRIVER=zink
+ export __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink
fi
fi