mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge pull request #752 from MihailRis/add-debug-info-to-windows-build
add debug info to msvc build
This commit is contained in:
commit
5aac30ca4c
1 changed files with 4 additions and 4 deletions
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue