update windows workflow

This commit is contained in:
MihailRis 2024-06-11 23:16:52 +03:00
parent c5006107b9
commit 4d92bf024a

View File

@ -23,7 +23,6 @@ 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
@ -31,6 +30,7 @@ jobs:
cd ..
- name: Configure and build project with CMake and vcpkg
run: |
vcpkg install --triplet=x64-windows-static-md
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON -DVCPKG_TARGET_TRIPLET=x64-windows-static-md ..