Skip to content

Commit

Permalink
build: workflows: FIx broken Windows tests
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored and edsiper committed Jul 25, 2024
1 parent 7e843e5 commit 02ef1b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
with:
submodules: true

- name: Set up with Developer Command Prompt for Microsoft Visual C++
uses: ilammy/msvc-dev-cmd@v1
with:
toolset: 14.29 # For using VS2019 C++

- name: Build on ${{ matrix.os }} with vs-2019
run: |
.\scripts\win_build.bat
Expand Down
2 changes: 0 additions & 2 deletions scripts/win_build.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
setlocal
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
path "C:\Program Files (x86)\MSBuild\16.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin";%path%
git submodule update --init --recursive
cd build
cmake -G "NMake Makefiles" -DCMT_TESTS=On ..\
Expand Down

0 comments on commit 02ef1b8

Please sign in to comment.