Commit d659aa38 authored by Jean-Andre Santoni's avatar Jean-Andre Santoni
Browse files

Luasocket for windows

parent 29a80315
Pipeline #23074 passed with stages
in 1 minute and 28 seconds
......@@ -75,3 +75,9 @@ jobs:
- uses: actions/checkout@v2
- run: CC=gcc make -j4 platform=win config=player WANT_JIT=1
build_windows_luasocket:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: CC=gcc make -j4 platform=win config=player WANT_LUASOCKET=1
......@@ -109,12 +109,13 @@ SOURCES_C += $(CORE_DIR)/deps/luasocket/libluasocket/auxiliar.c \
$(CORE_DIR)/deps/luasocket/libluasocket/tcp.c \
$(CORE_DIR)/deps/luasocket/libluasocket/timeout.c \
$(CORE_DIR)/deps/luasocket/libluasocket/udp.c \
$(CORE_DIR)/deps/luasocket/libluasocket/unix.c \
$(CORE_DIR)/deps/luasocket/luasocket.c
ifeq ($(system_platform), unix)
SOURCES_C += $(CORE_DIR)/deps/luasocket/libluasocket/usocket.c
SOURCES_C += $(CORE_DIR)/deps/luasocket/libluasocket/usocket.c \
$(CORE_DIR)/deps/luasocket/libluasocket/unix.c
else ifeq ($(system_platform), osx)
SOURCES_C += $(CORE_DIR)/deps/luasocket/libluasocket/usocket.c
$(CORE_DIR)/deps/luasocket/libluasocket/unix.c
else
SOURCES_C += $(CORE_DIR)/deps/luasocket/libluasocket/wsocket.c
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment