Skip to content

Commit

Permalink
release #39
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Nov 28, 2024
1 parent af9399d commit c3eafe3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,13 @@ jobs:
run: |
$vcvarsPath = "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
if (!(Test-Path $vcvarsPath)) {
Write-Output "Visual Studio Build Tools not found at $vcvarsPath. Attempting installation again."
exit 1
Write-Output "Visual Studio Build Tools not found at $vcvarsPath. Reinstalling..."
choco install visualstudio2022buildtools -y --install-arguments \
'--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --quiet --norestart'
if (!(Test-Path $vcvarsPath)) {
Write-Output "Failed to install Visual Studio Build Tools."
exit 1
}
} else {
Write-Output "Found Visual Studio Build Tools at $vcvarsPath"
}
Expand Down

0 comments on commit c3eafe3

Please sign in to comment.