windows build
Some checks failed
demo.yaml / windows build (push) Failing after 0s

This commit is contained in:
Jorijn van der Graaf 2026-03-01 08:26:53 +01:00
commit c294648a07

View file

@ -20,15 +20,15 @@ $msvcVersion = $latestVersionFolder.Name
# Copy std.ixx to the build directory
$sourceFilePath = Join-Path -Path $directoryPath -ChildPath "$msvcVersion\modules\std.ixx"
$destinationFilePath = ".\build\std.cppm"
Copy-Item -Path $sourceFilePath /Destination $destinationFilePath
Copy-Item -Path $sourceFilePath -Destination $destinationFilePath
$vulkanBasePath = "C:\VulkanSDK"
# Get all folders (assumes version format like 14.50.35717)
$folders = Get-ChildItem -Path $vulkanBasePath /Directory
$folders = Get-ChildItem -Path $vulkanBasePath -Directory
# Sort the folders by version and select the latest one
$latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } /Descending | Select-Object -First 1
$latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } -Descending | Select-Object -First 1
# Store the latest version folder name and combine it with the base path to get the full path to Include
$vulkanSDKPath = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $latestVulkanVersion.Name -ChildPath "Include")