fix the stupid
Some checks failed
Build / Build (push) Failing after 17s
MSVC Build / build-windows (windows-latest) (push) Has been cancelled

This commit is contained in:
MihailRis 2025-12-07 03:23:48 +03:00 committed by ShiftyX1
parent 00f269ca7e
commit 06f6550624
3 changed files with 3 additions and 10 deletions

View File

@ -38,11 +38,11 @@ jobs:
# install EnTT
git clone https://github.com/skypjack/entt.git
cd entt/build
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Debug -DENTT_INSTALL=on ..
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
sudo make install
cd ../..
- name: Configure
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Debug -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON -DVC_BUILD_NAME="${{ inputs.build_name }}"
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON -DVC_BUILD_NAME="${{ inputs.build_name }}"
- name: Build
run: cmake --build build -t install
- name: Run tests

View File

@ -496,7 +496,6 @@ audio.__reset_fetch_buffer = nil
core.get_core_token = audio.input.__get_core_token
function __process_post_runnables()
print("1")
if #__post_runnables then
for _, func in ipairs(__post_runnables) do
local status, result = xpcall(func, __vc__error)
@ -507,7 +506,6 @@ function __process_post_runnables()
__post_runnables = {}
end
print("2")
local dead = {}
for name, co in pairs(__vc_named_coroutines) do
local success, err = coroutine.resume(co)
@ -522,15 +520,10 @@ function __process_post_runnables()
__vc_named_coroutines[name] = nil
end
print("3")
fn_audio_reset_fetch_buffer()
print("4")
debug.pull_events()
print("5")
network.__process_events()
print("6")
block.__process_register_events()
print("7")
block.__perform_ticks(time.delta())
end

View File

@ -520,7 +520,7 @@ static int l_pull_events(lua::State* L, network::Network& network) {
}
static int l_is_available(lua::State* L) {
return engine->getNetwork() != nullptr;
return lua::pushboolean(L, engine->getNetwork() != nullptr);
}
template <int(*func)(lua::State*, network::Network&)>