diff options
author | Samuel Pitoiset <[email protected]> | 2019-11-14 12:09:44 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-12-06 10:57:57 +0100 |
commit | f32bf4f1e249a2d068cb25bfa77550f533b791c0 (patch) | |
tree | 8f7b38e5a082762487ae9c23e1c7a0cdc1a73956 /.gitlab-ci | |
parent | 16b999b7d156b1f8b8bb03ea2fb140c65be6475b (diff) |
gitlab-ci: configure the Vulkan ICD export with VK_DRIVER
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x | .gitlab-ci/deqp-runner.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index c9231c7c54b..bc561821a0d 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -19,6 +19,13 @@ if [ -z "$DEQP_VER" ]; then exit 1 fi +if [ "$DEQP_VER" == "vk" ]; then + if [ -z "$VK_DRIVER" ]; then + echo 'VK_DRIVER must be to something like "radeon" or "intel" for the test run' + exit 1 + fi +fi + if [ -z "$DEQP_SKIPS" ]; then echo 'DEQP_SKIPS must be set to something like "deqp-default-skips.txt"' exit 1 @@ -29,6 +36,7 @@ ARTIFACTS=`pwd`/artifacts # Set up the driver environment. export LD_LIBRARY_PATH=`pwd`/install/lib/ export EGL_PLATFORM=surfaceless +export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.json # the runner was failing to look for libkms in /usr/local/lib for some reason # I never figured out. |