-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MSVC-internal testing scripts to public GitHub. #13748
Conversation
Write-Host "Found toolsets:`n$($toolsets -join `"`n`")`n" | ||
$selectedToolset = $toolsets[0] | ||
Write-Host "Using toolset: $selectedToolset" | ||
for ($idx = 1; $idx -lt $toolsets.Length; $idx++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This procedure may not be correct -- if I recall correctly there have been cases where the libs are stored in a differently versioned folder than the compiler.
However, I think it's fine to deal with that if/when it occurs than to worry about it right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically this should also be overriding the ones in system32 etc. for maximum correctness but the old infrastructure didn't do that and I'm preserving that here.
} | ||
|
||
Write-Host "Deploying $tempRoot => $selectedToolset" | ||
Copy-Item "$tempRoot\*" $selectedToolset -Recurse -Force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move-Item
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does copy followed by delete because it crosses drives
This adds the scripts for the former "vcpkg unstable" run we use to test the compiler to GitHub to onboard them to the new world order Azure Pipelines YAML infrastructure.