Merge pull request #752 from MihailRis/add-debug-info-to-windows-build

add debug info to msvc build
This commit is contained in:
MihailRis 2025-12-24 19:33:53 +03:00 • committed by GitHub
commit 5aac30ca4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,18 +32,18 @@ jobs:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
run: |
cmake --preset default-vs-msvc-windows
cmake --build --preset default-vs-msvc-windows --config Release
cmake --build --preset default-vs-msvc-windows --config RelWithDebInfo
- name: Run tests
run: ctest --preset default-vs-msvc-windows
- name: Run engine tests
run: |
build/vctest/Release/vctest.exe -e build/Release/VoxelEngine.exe -d dev/tests -u build
build/vctest/RelWithDebInfo/vctest.exe -e build/RelWithDebInfo/VoxelEngine.exe -d dev/tests -u build
timeout-minutes: 1
- name: Package for Windows
run: |
mkdir packaged
cp -r build/Release/* packaged/
cp build/vctest/Release/vctest.exe packaged/
cp -r build/RelWithDebInfo/* packaged/
cp build/vctest/RelWithDebInfo/vctest.exe packaged/
cp C:/Windows/System32/msvcp140.dll packaged/msvcp140.dll
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
working-directory: ${{ github.workspace }}