Skip to content

Commit

Permalink
add package steps to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 13, 2024
1 parent b510985 commit 7070889
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,15 @@ jobs:
cd build
cmake -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-dynamic -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON -DVOXELENGINE_BUILD_TESTS=ON ..
cmake --build . --config Release
# - name: Check results
# run: tree build
- name: Check results
run: tree build
- name: Package for Windows
run: |
mkdir packaged
cp -r build/* packaged/
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/*'
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ if (WIN32)
message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}")
set(LUA_LIBRARIES "PkgConfig::LuaJIT")
set(LIBS ${LIBS} wsock32 ws2_32)
#set(LUA_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/../build/vcpkg_installed/x64-mingw-dynamic/lib/libluajit.dll.a")
endif()
find_package(glfw3 REQUIRED)
find_package(glm REQUIRED)
Expand Down

0 comments on commit 7070889

Please sign in to comment.