mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:35:45 +01:00
fix: github actions having too much trouble executing wine
This commit is contained in:
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@@ -10,6 +10,7 @@ env:
|
|||||||
VCPKG_DISABLE_METRICS: 1
|
VCPKG_DISABLE_METRICS: 1
|
||||||
VCPKG_ROOT: ${{github.workspace}}/.vcpkg
|
VCPKG_ROOT: ${{github.workspace}}/.vcpkg
|
||||||
DEPS_VCPKG: glfw3:x64-linux-dynamic glfw3:x64-mingw-static
|
DEPS_VCPKG: glfw3:x64-linux-dynamic glfw3:x64-mingw-static
|
||||||
|
WINEPREFIX: /tmp/wineprefix
|
||||||
jobs:
|
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
|
# 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
|
||||||
|
|||||||
7
makefile
7
makefile
@@ -88,7 +88,12 @@ DEP := $(OBJ:.o=.d)
|
|||||||
COMPILE_COMMANDS := $(DIR_OBJ)/compile_commands.json
|
COMPILE_COMMANDS := $(DIR_OBJ)/compile_commands.json
|
||||||
|
|
||||||
.PHONY: run compile echo
|
.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)
|
compile: echo compile_commands $(BIN)
|
||||||
echo:
|
echo:
|
||||||
$(info $(shell printf "\033[36m")compiling for: $(MARCH), $(KERNEL)$(shell printf "\033[0m"))
|
$(info $(shell printf "\033[36m")compiling for: $(MARCH), $(KERNEL)$(shell printf "\033[0m"))
|
||||||
|
|||||||
Reference in New Issue
Block a user