Skip to content

Commit

Permalink
Use action to set up msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Aug 3, 2024
1 parent 7957793 commit 52db09a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/superbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
echo "TMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
shell: pwsh

- name: vcvarsall
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
shell: cmd
#this internally calls the vcvarsall.bat script to setup the environment
- name: setup-msvc-dev
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64

- name: cmake-configure
run: |
Expand Down

0 comments on commit 52db09a

Please sign in to comment.