fix: github actions having too much trouble executing wine

This commit is contained in:
2025-06-15 14:12:49 +02:00
parent ca9413db67
commit efcc02248f
2 changed files with 7 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ env:
VCPKG_DISABLE_METRICS: 1
VCPKG_ROOT: ${{github.workspace}}/.vcpkg
DEPS_VCPKG: glfw3:x64-linux-dynamic glfw3:x64-mingw-static
WINEPREFIX: /tmp/wineprefix
jobs:
#
# the mega job containing all things we need to do, since setting up a single system is more efficient than installing the same stuff on multiple ones

View File

@@ -88,7 +88,12 @@ DEP := $(OBJ:.o=.d)
COMPILE_COMMANDS := $(DIR_OBJ)/compile_commands.json
.PHONY: run compile echo
run: echo compile_commands $(BIN); $(BIN)
run: echo compile_commands $(BIN)
ifeq ($(ISWIN),0)
$(BIN)
else
wine $(BIN)
endif
compile: echo compile_commands $(BIN)
echo:
$(info $(shell printf "\033[36m")compiling for: $(MARCH), $(KERNEL)$(shell printf "\033[0m"))