diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86d29ce13..40f6f51eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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/*' diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0ebe89eb7..02203eff2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)