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