Update build_windows.yml

This commit is contained in:
Kae 2024-02-20 13:32:20 +11:00 committed by GitHub
parent c58c0acddb
commit fc6391e4db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,17 @@ jobs:
Remove-Item "${{ github.workspace }}\dist" -Recurse Remove-Item "${{ github.workspace }}\dist" -Recurse
- name: Configure Release Build - 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 - name: Build Release
run: cmake --build "${{ github.workspace }}/cmake-build-relwithdebinfo" --config "RelWithDebInfo" --parallel run: cmake --build "${{ github.workspace }}/cmake-build-relwithdebinfo" --config "RelWithDebInfo" --parallel