Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Oct 23, 2024
1 parent 07a77a9 commit 1c29905
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/win-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,20 @@ jobs:
"--add", "Microsoft.VisualStudio.Component.VC.140", `
"--add", "Microsoft.VisualStudio.Component.VC.v141.x86.x64" -Wait
- name: Check Visual Studio installations and toolsets
run: |
# List all Visual Studio installations
& 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' -all -products * -format json | ConvertFrom-Json | ForEach-Object {
Write-Host "Installation Path: $_.installationPath"
Write-Host "Product: $_.catalog_productDisplayName"
Write-Host "Version: $_.catalog_productLineVersion"
}
# List the available toolsets in Visual Studio
$vsInstallationPath = (Get-Item 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community').FullName
$vcvarsPath = "$vsInstallationPath\VC\Auxiliary\Build\vcvarsall.bat"
Write-Host "Toolsets in Visual Studio:"
cmd.exe /c "$vcvarsPath -help"
# - name: Check Visual Studio installations and toolsets
# run: |
# # List all Visual Studio installations
# & 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' -all -products * -format json | ConvertFrom-Json | ForEach-Object {
# Write-Host "Installation Path: $_.installationPath"
# Write-Host "Product: $_.catalog_productDisplayName"
# Write-Host "Version: $_.catalog_productLineVersion"
# }

# # List the available toolsets in Visual Studio
# $vsInstallationPath = (Get-Item 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community').FullName
# $vcvarsPath = "$vsInstallationPath\VC\Auxiliary\Build\vcvarsall.bat"
# Write-Host "Toolsets in Visual Studio:"
# cmd.exe /c "$vcvarsPath -help"

- name: Cache CMake and Bazel installations
id: cache-tools
Expand Down

0 comments on commit 1c29905

Please sign in to comment.