ci: Always run the tests using software rasterization

This way when run locally the environment matches what
happens in the headless CI runners without a gpu.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7591>
This commit is contained in:
Jordan Petridis 2024-10-16 22:29:04 +03:00 committed by GStreamer Marge Bot
parent 9c5523d529
commit e6e2653bf8

View file

@ -24,6 +24,12 @@ echo "-> Running $tests"
# https://github.com/openssl/openssl/blob/master/NOTES-VALGRIND.md # https://github.com/openssl/openssl/blob/master/NOTES-VALGRIND.md
export OPENSSL_ia32cap=":0" export OPENSSL_ia32cap=":0"
# Force Software rendering for GL and Vulkan so the tests run locally
# like they would do in the CI.
export LIBGL_ALWAYS_SOFTWARE="true"
# This the hardcoded value for llvmpipe
export MESA_VK_DEVICE_SELECT="10005:0"
./gst-env.py \ ./gst-env.py \
"--builddir=$builddir" \ "--builddir=$builddir" \
gst-validate-launcher "$tests" \ gst-validate-launcher "$tests" \