Skip to content

Commit

Permalink
github action #4
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Oct 19, 2024
1 parent ac39222 commit edc12cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ jobs:
- name: Initialize MSVC environment
if: matrix.os == 'windows-latest'
run: |
call "${{ env.VS_VARS_CMD }}"
if exist "${{ env.VS_VARS_CMD }}" (
call "${{ env.VS_VARS_CMD }}"
) else (
echo "Error: vcvars64.bat not found!"
exit 1
)
shell: cmd

# Set reusable build directory
Expand Down

0 comments on commit edc12cf

Please sign in to comment.