diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index afeed7572..d13479cd3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 }} diff --git a/src/frontend/debug_panel.cpp b/src/frontend/debug_panel.cpp index 5dc70af0d..a9036b7ca 100644 --- a/src/frontend/debug_panel.cpp +++ b/src/frontend/debug_panel.cpp @@ -1,27 +1,34 @@ +#include +#include +#include +#include +#include + #include "audio/audio.hpp" +#include "constants.hpp" +#include "content/Content.hpp" #include "delegates.hpp" #include "engine/Engine.hpp" -#include "settings.hpp" -#include "hud.hpp" -#include "content/Content.hpp" #include "graphics/core/Mesh.hpp" -#include "graphics/ui/elements/CheckBox.hpp" -#include "graphics/ui/elements/TextBox.hpp" -#include "graphics/ui/elements/TrackBar.hpp" -#include "graphics/ui/elements/InputBindBox.hpp" -#include "graphics/ui/GUI.hpp" -#include "graphics/render/WorldRenderer.hpp" -#include "graphics/render/ParticlesRenderer.hpp" #include "graphics/render/ChunksRenderer.hpp" #include "graphics/render/DebugLinesRenderer.hpp" +#include "graphics/render/ParticlesRenderer.hpp" +#include "graphics/render/WorldRenderer.hpp" +#include "graphics/ui/GUI.hpp" +#include "graphics/ui/elements/CheckBox.hpp" +#include "graphics/ui/elements/InputBindBox.hpp" +#include "graphics/ui/elements/TextBox.hpp" +#include "graphics/ui/elements/TrackBar.hpp" +#include "hud.hpp" #include "logic/scripting/scripting.hpp" #include "network/Network.hpp" +#include "objects/Entities.hpp" +#include "objects/Entity.hpp" +#include "objects/EntityDef.hpp" #include "objects/Player.hpp" #include "objects/Players.hpp" -#include "objects/Entities.hpp" -#include "objects/EntityDef.hpp" -#include "objects/Entity.hpp" #include "physics/Hitbox.hpp" +#include "settings.hpp" #include "util/stringutil.hpp" #include "voxels/Block.hpp" #include "voxels/Chunk.hpp" @@ -30,12 +37,6 @@ #include "world/Level.hpp" #include "world/World.hpp" -#include -#include -#include -#include -#include - using namespace gui; static std::shared_ptr