Update build_windows.yml
This commit is contained in:
parent
c58c0acddb
commit
fc6391e4db
12
.github/workflows/build_windows.yml
vendored
12
.github/workflows/build_windows.yml
vendored
@ -36,7 +36,17 @@ jobs:
|
||||
Remove-Item "${{ github.workspace }}\dist" -Recurse
|
||||
|
||||
- name: Configure Release Build
|
||||
run: cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}/source" -B "${{ github.workspace }}/cmake-build-relwithdebinfo" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install" -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_TESTING=YES
|
||||
run: >
|
||||
cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}/source" -B "${{ github.workspace }}/cmake-build-relwithdebinfo"
|
||||
-DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
||||
-DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
|
||||
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install"
|
||||
-DCMAKE_VERBOSE_MAKEFILE=YES
|
||||
-DBUILD_TESTING=OFF
|
||||
-DSTAR_ENABLE_STEAM_INTEGRATION=ON
|
||||
-DSTAR_ENABLE_DISCORD_INTEGRATION=ON
|
||||
-DCMAKE_INCLUDE_PATH="..\lib\windows\include"
|
||||
-DCMAKE_LIBRARY_PATH="..\lib\windows"
|
||||
|
||||
- name: Build Release
|
||||
run: cmake --build "${{ github.workspace }}/cmake-build-relwithdebinfo" --config "RelWithDebInfo" --parallel
|
||||
|
Loading…
Reference in New Issue
Block a user