Skip to content

Commit

Permalink
Try using cmake in regular way on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Oct 25, 2024
1 parent 8dc4084 commit d3f5447
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@ jobs:
- name: Build on Windows
if: startsWith(matrix.os, 'windows')
run: |
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist"
msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj
cmake -A Win32 -B build -DCMAKE_INSTALL_PREFIX="dist"
cmake --build build --config Release --target all
cmake --build build --config Release --target install
- name: Build on Windows with vgui
if: startsWith(matrix.os, 'windows')
run: |
cmake -G "Visual Studio 16 2019" -A Win32 -B build -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="dist-vgui"
msbuild -verbosity:normal /property:Configuration=Release build/INSTALL.vcxproj
cmake -A Win32 -B build -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="dist-vgui"
cmake --build build-vgui --config Release --target all
cmake --build build-vgui --config Release --target install
- name: Extract branch name
shell: bash
Expand Down

0 comments on commit d3f5447

Please sign in to comment.