Commit 27332aab authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Add .gitlab-ci.yml

parent 57d43274
.core-defs:
variables:
CORENAME: 2048
include:
- template: Jobs/Code-Quality.gitlab-ci.yml
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
libretro-build-linux-x64:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
stage: build-shared
script:
- make -f Makefile.libretro -j10
artifacts:
paths:
- 2048_libretro.so
expire_in: 1 month
dependencies: []
libretro-build-windows-x64:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
stage: build-shared
script:
- make -f Makefile.libretro -j10 platform=win64 MSYSTEM=MINGW64
artifacts:
paths:
- 2048_libretro.dll
expire_in: 1 month
dependencies: []
libretro-build-libnx-aarch64:
extends:
- .core-defs
- .libretro-libnx-static-retroarch-master
......@@ -521,6 +521,20 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
else
EXT?=dll
ifeq ($(MSYSTEM),MINGW64)
CC = x86_64-w64-mingw32-gcc
CXX = x86_64-w64-mingw32-g++
COREFLAGS += -DWIN64
ASFLAGS = -f win64 -d WIN64
PIC = 1
else ifeq ($(MSYSTEM),MINGW32)
CC = i686-w64-mingw32-gcc
CXX = i686-w64-mingw32-g++
COREFLAGS += -DWIN32
ASFLAGS = -f win32 -d WIN32 -d LEADING_UNDERSCORE
endif
TARGET := $(TARGET_NAME)_libretro.$(EXT)
SHARED := -shared -static-libgcc -static-libstdc++ -Wl,--no-undefined -s
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