Skip to content

Commit

Permalink
github action #9
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Oct 19, 2024
1 parent 8fa288c commit 6224b7a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
-property installationPath
if (-not $vs_path) {
Write-Host "Visual Studio Build Tools not found!" && exit 1
Write-Host "Visual Studio Build Tools not found!"
exit 1
}
$vs_vars_cmd = "$vs_path\VC\Auxiliary\Build\vcvars64.bat"
Expand All @@ -67,9 +68,10 @@ jobs:
- name: Initialize MSVC environment
if: matrix.os == 'windows-latest'
run: |
echo "Using vcvars64.bat from: %VS_VARS_CMD%"
Write-Host "Using vcvars64.bat from: %VS_VARS_CMD%"
if not exist "%VS_VARS_CMD%" (
echo "Error: vcvars64.bat not found!" && exit 1
echo "Error: vcvars64.bat not found!"
exit 1
)
call "%VS_VARS_CMD%"
shell: cmd
Expand Down

0 comments on commit 6224b7a

Please sign in to comment.