Skip to content

Commit

Permalink
Update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luojunyuan authored Oct 15, 2024
1 parent 62089b6 commit cd65f91
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,15 @@ jobs:
# git clone detours 子模块
submodules: true

- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Install Visual Studio Build Tools
run: |
choco install visualstudio2022buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
- name: Set up Developer Command Prompt
run: |
echo "::add-path::C:\Program Files\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build"
call "C:\Program Files\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86
- name: Build Detours
# working-directory: ${{env.GITHUB_WORKSPACE}}/extern/Detours
Expand Down

0 comments on commit cd65f91

Please sign in to comment.