gambatte-libretro/.gitlab-ci.yml

168 lines
4.2 KiB
YAML
Raw Normal View History

2020-12-01 18:49:50 +00:00
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
##############################################################################
################################# BOILERPLATE ################################
##############################################################################
# Core definitions
2020-10-07 17:57:11 +00:00
.core-defs:
variables:
2020-10-07 17:58:19 +00:00
JNI_PATH: libgambatte/libretro
2020-10-07 17:57:11 +00:00
CORENAME: gambatte
2020-12-01 18:49:50 +00:00
# Inclusion templates, required for the build to work
2020-10-07 17:57:11 +00:00
include:
2020-12-01 18:49:50 +00:00
################################## DESKTOPS ################################
# Windows 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-mingw.yml'
# Linux 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
################################## CELLULAR ################################
# Android
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'
################################## CONSOLES ################################
2020-12-05 17:13:51 +00:00
# PlayStation Portable
2020-10-07 17:57:11 +00:00
- project: 'libretro-infrastructure/ci-templates'
2020-12-05 17:13:51 +00:00
file: '/psp-static.yml'
2020-12-01 18:49:50 +00:00
# PlayStation Vita
2020-10-07 17:57:11 +00:00
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
2020-12-01 18:49:50 +00:00
2020-12-05 17:13:51 +00:00
# Nintendo 3DS
2020-10-18 17:25:23 +00:00
- project: 'libretro-infrastructure/ci-templates'
2020-12-05 17:13:51 +00:00
file: '/ctr-static.yml'
# Nintendo GameCube
- project: 'libretro-infrastructure/ci-templates'
file: '/ngc-static.yml'
# Nintendo Wii
- project: 'libretro-infrastructure/ci-templates'
file: '/wii-static.yml'
2020-12-24 15:23:08 +00:00
# Nintendo WiiU
2020-12-24 15:27:23 +00:00
# - project: 'libretro-infrastructure/ci-templates'
# file: '/wiiu-static.yml'
2020-12-24 15:23:08 +00:00
2020-12-05 17:13:51 +00:00
# Nintendo Switch
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
2020-12-01 18:49:50 +00:00
# OpenDingux
- project: 'libretro-infrastructure/ci-templates'
2020-12-05 17:13:51 +00:00
file: '/dingux-mips32.yml'
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
# Stages for building
2020-10-07 17:57:11 +00:00
stages:
- build-prepare
- build-shared
- build-static
2020-12-01 18:49:50 +00:00
##############################################################################
#################################### STAGES ##################################
##############################################################################
#
################################### DESKTOPS #################################
# Windows 64-bit
libretro-build-windows-x64:
2020-10-07 17:57:11 +00:00
extends:
2020-12-01 18:49:50 +00:00
- .libretro-windows-x64-mingw-make-default
- .core-defs
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
# Linux 64-bit
libretro-build-linux-x64:
2020-10-07 17:57:11 +00:00
extends:
2020-12-01 18:49:50 +00:00
- .libretro-linux-x64-make-default
- .core-defs
2020-12-01 18:49:50 +00:00
# MacOS 64-bit
libretro-build-osx-x64:
extends:
2020-12-01 18:49:50 +00:00
- .libretro-osx-x64-make-default
- .core-defs
2020-12-01 18:49:50 +00:00
################################### CELLULAR #################################
# Android ARMv7a
2020-10-07 17:57:11 +00:00
android-armeabi-v7a:
extends:
- .libretro-android-jni-armeabi-v7a
- .core-defs
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
# Android ARMv8a
2020-10-07 17:57:11 +00:00
android-arm64-v8a:
extends:
- .libretro-android-jni-arm64-v8a
- .core-defs
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
# Android 64-bit x86
2020-10-07 17:57:11 +00:00
android-x86_64:
extends:
- .libretro-android-jni-x86_64
- .core-defs
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
# Android 32-bit x86
2020-10-07 17:57:11 +00:00
android-x86:
extends:
- .libretro-android-jni-x86
- .core-defs
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
################################### CONSOLES #################################
2020-12-05 17:13:51 +00:00
# PlayStation Portable
libretro-build-psp:
2020-10-07 17:57:11 +00:00
extends:
2020-12-05 17:13:51 +00:00
- .libretro-psp-static-retroarch-master
- .core-defs
2020-10-07 17:57:11 +00:00
2020-12-01 18:49:50 +00:00
# PlayStation Vita
2020-10-07 17:57:11 +00:00
libretro-build-vita:
extends:
- .libretro-vita-static-retroarch-master
- .core-defs
2020-10-18 17:25:23 +00:00
2020-12-05 17:13:51 +00:00
# Nintendo 3DS
libretro-build-ctr:
2020-10-18 17:25:23 +00:00
extends:
2020-12-05 17:13:51 +00:00
- .libretro-ctr-static-retroarch-master
- .core-defs
# Nintendo GameCube
libretro-build-ngc:
extends:
- .libretro-ngc-static-retroarch-master
- .core-defs
# Nintendo Wii
libretro-build-wii:
extends:
- .libretro-wii-static-retroarch-master
- .core-defs
2020-12-24 15:23:08 +00:00
# Nintendo WiiU
2020-12-24 15:27:23 +00:00
#libretro-build-wiiu:
#extends:
# - .libretro-wiiu-static-retroarch-master
# - .core-defs
2020-12-24 15:23:08 +00:00
2020-12-05 17:13:51 +00:00
# Nintendo Switch
libretro-build-libnx-aarch64:
extends:
- .libretro-libnx-static-retroarch-master
- .core-defs
2020-12-01 18:49:50 +00:00
# OpenDingux
2020-12-05 17:13:51 +00:00
libretro-build-dingux-mips32:
2020-12-01 18:49:50 +00:00
extends:
2020-12-05 17:13:51 +00:00
- .libretro-dingux-mips32-make-default
- .core-defs