update windows workflow

This commit is contained in:
MihailRis
2024-06-11 23:13:28 +03:00
parent 825eec049d
commit c5006107b9
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -23,6 +23,7 @@ jobs:
- name: Set up vcpkg
run: |
set VCPKG_DEFAULT_HOST_TRIPLET=x64-windows-static-md
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
@@ -32,9 +33,9 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON ..
cmake -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON -DVCPKG_TARGET_TRIPLET=x64-windows-static-md ..
Remove-Item -Path CMakeFiles -Recurse -Force
cmake -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON ..
cmake -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON -DVCPKG_TARGET_TRIPLET=x64-windows-static-md ..
cmake --build . --config Release
- name: Package for Windows
run: |