Skip to content

Commit

Permalink
Update cmake.yml: setup visual studio environment
Browse files Browse the repository at this point in the history
  • Loading branch information
austinEng authored Oct 30, 2023
1 parent 41e67b7 commit 96049dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ jobs:
- name: Set up Ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: Set up Visual Studio x64 environment
if: matrix.is == 'windows-latest'
run: |
call "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsall.bat" x64
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down

0 comments on commit 96049dd

Please sign in to comment.