Unverified Commit 0903c683 authored by Jean-Andre Santoni's avatar Jean-Andre Santoni Committed by GitHub
Browse files

Add more build targets (#198)

parent 20cc22f3
Pipeline #21136 passed with stages
in 1 minute and 31 seconds
......@@ -52,10 +52,22 @@ include:
file: '/ios9.yml'
################################## CONSOLES ################################
# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'
# PlayStation Vita
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
# PlayStation2
- project: 'libretro-infrastructure/ci-templates'
file: '/ps2-static.yml'
# Nintendo 3DS
- project: 'libretro-infrastructure/ci-templates'
file: '/ctr-static.yml'
# Nintendo GameCube
- project: 'libretro-infrastructure/ci-templates'
file: '/ngc-static.yml'
......@@ -64,11 +76,26 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/wii-static.yml'
# Nintendo WiiU
- project: 'libretro-infrastructure/ci-templates'
file: '/wiiu-static.yml'
# Nintendo Switch
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
# OpenDingux
#- project: 'libretro-infrastructure/ci-templates'
# file: '/dingux-mips32.yml'
# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
#################################### MISC ##################################
# Emscripten
- project: 'libretro-infrastructure/ci-templates'
file: '/emscripten-static.yml'
# Stages for building
stages:
......@@ -161,10 +188,28 @@ libretro-build-tvos-arm64:
- .core-defs
################################### CONSOLES #################################
# Nintendo GameCube
libretro-build-ngc:
# PlayStation Portable
libretro-build-psp:
extends:
- .libretro-psp-static-retroarch-master
- .core-defs
# PlayStation Vita
libretro-build-vita:
extends:
- .libretro-vita-static-retroarch-master
- .core-defs
# PlayStation2
libretro-build-ps2:
extends:
- .libretro-ps2-static-retroarch-master
- .core-defs
# Nintendo 3DS
libretro-build-ctr:
extends:
- .libretro-ngc-static-retroarch-master
- .libretro-ctr-static-retroarch-master
- .core-defs
# Nintendo Wii
......@@ -172,9 +217,37 @@ libretro-build-wii:
extends:
- .libretro-wii-static-retroarch-master
- .core-defs
# PlayStation Vita
libretro-build-vita:
# Nintendo WiiU
libretro-build-wiiu:
extends:
- .libretro-vita-static-retroarch-master
- .libretro-wiiu-static-retroarch-master
- .core-defs
# Nintendo Switch
libretro-build-libnx-aarch64:
extends:
- .libretro-libnx-static-retroarch-master
- .core-defs
# OpenDingux
#libretro-build-dingux-mips32:
# extends:
# - .libretro-dingux-mips32-make-default
# - .core-defs
# OpenDingux Beta
#libretro-build-dingux-odbeta-mips32:
# extends:
# - .libretro-dingux-odbeta-mips32-make-default
# - .core-defs
# variables:
# platform: gcw0-odbeta
#################################### MISC ##################################
# Emscripten
libretro-build-emscripten:
extends:
- .libretro-emscripten-static-retroarch-master
- .core-defs
......@@ -192,6 +192,17 @@ else ifeq ($(platform), emscripten)
TARGET := $(TARGET_NAME)_libretro_$(platform).bc
STATIC_LINKING = 1
# PS2
else ifeq ($(platform),ps2)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = mips64r5900el-ps2-elf-gcc$(EXE_EXT)
CXX = mips64r5900el-ps2-elf-g++$(EXE_EXT)
AR = mips64r5900el-ps2-elf-ar$(EXE_EXT)
FLAGS += -G0 -DPS2 -DABGR1555 -DHAVE_NO_LANGEXTRA
INCFLAGS_PLATFORM += -O3
STATIC_LINKING := 1
LIBS :=
# PSP
else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
......
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