This commit is contained in:
MihailRis
2024-12-07 21:42:39 +03:00
committed by GitHub
parent 6e5df533ed
commit bbb9987140
2 changed files with 17 additions and 19 deletions
+12 -12
View File
@@ -4,7 +4,7 @@ on:
push:
branches: [ "main", "release-**"]
pull_request:
branches: [ "main" ]
branches: [ "main", "headless-mode" ]
jobs:
build-windows:
@@ -40,14 +40,14 @@ jobs:
run: |
build/vctest/Release/vctest.exe -e build/Release/VoxelEngine.exe -d dev/tests -u build
timeout-minutes: 1
# - name: Package for Windows
# run: |
# mkdir packaged
# cp -r build/* packaged/
# cp C:/Windows/System32/msvcp140.dll packaged/Release/msvcp140.dll
# mv packaged/Release/VoxelEngine.exe packaged/Release/VoxelCore.exe
# working-directory: ${{ github.workspace }}
# - uses: actions/upload-artifact@v4
# with:
# name: Windows-Build
# path: 'packaged/Release/*'
- name: Package for Windows
run: |
mkdir packaged
cp -r build/* packaged/
cp C:/Windows/System32/msvcp140.dll packaged/Release/msvcp140.dll
mv packaged/Release/VoxelEngine.exe packaged/Release/VoxelCore.exe
working-directory: ${{ github.workspace }}
- uses: actions/upload-artifact@v4
with:
name: Windows-Build
path: 'build/Release/*'