mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update windows.yml
This commit is contained in:
parent
1940fa7fa4
commit
327f99891a
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
|
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
|
||||||
run: |
|
run: |
|
||||||
cmake --preset default-vs-msvc-windows
|
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
|
- name: Run tests
|
||||||
run: ctest --preset default-vs-msvc-windows
|
run: ctest --preset default-vs-msvc-windows
|
||||||
- name: Run engine tests
|
- name: Run engine tests
|
||||||
run: |
|
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
|
timeout-minutes: 1
|
||||||
- name: Package for Windows
|
- name: Package for Windows
|
||||||
run: |
|
run: |
|
||||||
mkdir packaged
|
mkdir packaged
|
||||||
cp -r build/Release/* packaged/
|
cp -r build/RelWithDebInfo/* packaged/
|
||||||
cp build/vctest/Release/vctest.exe packaged/
|
cp build/vctest/RelWithDebInfo/vctest.exe packaged/
|
||||||
cp C:/Windows/System32/msvcp140.dll packaged/msvcp140.dll
|
cp C:/Windows/System32/msvcp140.dll packaged/msvcp140.dll
|
||||||
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
|
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue