Tweaks for CI

This commit is contained in:
Wojciech Figat
2022-01-17 12:30:03 +01:00
parent 069d51305e
commit 526fa5a33d
3 changed files with 15 additions and 16 deletions

View File

@@ -40,7 +40,7 @@ public sealed class VulkanSdk : Sdk
return;
var vulkanSdk = Environment.GetEnvironmentVariable("VULKAN_SDK");
if (vulkanSdk == null && platform == TargetPlatform.Mac)
if (platform == TargetPlatform.Mac && (vulkanSdk == null || !Directory.Exists(vulkanSdk)))
{
// Try to guess install location for the current user
var path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), "VulkanSDK");