From fd11b0046946fd36c140f3647d03dacc6d69d807 Mon Sep 17 00:00:00 2001 From: Ivan Avdeev Date: Mon, 7 Jun 2021 10:14:04 -0700 Subject: [PATCH] ref_vk: add more debug around VULKAN_SDK for CI --- ref_vk/wscript | 2 ++ scripts/build_windows_engine.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ref_vk/wscript b/ref_vk/wscript index 22a35143..b77443fa 100644 --- a/ref_vk/wscript +++ b/ref_vk/wscript @@ -32,6 +32,8 @@ def configure(conf): conf.error('VULKAN_SDK environment variable is not available, ref_vk will not be built') conf.end_msg('no') conf.env.VULKAN_SDK = conf.environ['VULKAN_SDK'] + if not os.path.isdir(conf.env.VULKAN_SDK): + conf.error(conf.env.VULKAN_SDK + ' is not a valid directory') conf.end_msg('found at ' + conf.env.VULKAN_SDK) conf.load('glslc') diff --git a/scripts/build_windows_engine.sh b/scripts/build_windows_engine.sh index 91dbc825..52bc3ca1 100644 --- a/scripts/build_windows_engine.sh +++ b/scripts/build_windows_engine.sh @@ -3,6 +3,10 @@ . scripts/lib.sh export VULKAN_SDK=C:/VulkanSDK/$VULKAN_SDK_VERSION +ls -la C:/ +ls -la C:/VulkanSDK +ls -la $VULKAN_SDK +ls -la $VULKAN_SDK/Bin/glslc.exe # Build engine cd $TRAVIS_BUILD_DIR