ref_vk: add more debug around VULKAN_SDK for CI

This commit is contained in:
Ivan Avdeev 2021-06-07 10:14:04 -07:00
parent cb7fb0a1c5
commit fd11b00469
2 changed files with 6 additions and 0 deletions

View File

@ -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')

View File

@ -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