2020-12-25 16:33:57 +00:00
|
|
|
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
################################# BOILERPLATE ################################
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
# Core definitions
|
2020-10-06 23:37:43 +00:00
|
|
|
.core-defs:
|
|
|
|
variables:
|
|
|
|
JNI_PATH: .
|
|
|
|
CORENAME: mednafen_psx
|
|
|
|
|
2020-12-17 16:57:59 +00:00
|
|
|
.core-defs-lightrec:
|
|
|
|
extends: .core-defs
|
|
|
|
variables:
|
|
|
|
HAVE_LIGHTREC: 1
|
|
|
|
|
2020-10-06 23:44:48 +00:00
|
|
|
.core-defs-hw:
|
2020-10-06 23:37:43 +00:00
|
|
|
extends: .core-defs
|
|
|
|
variables:
|
|
|
|
CORENAME: mednafen_psx_hw
|
|
|
|
HAVE_HW: 1
|
|
|
|
|
2020-10-06 23:44:48 +00:00
|
|
|
.core-defs-hw-lightrec:
|
2020-12-17 16:57:59 +00:00
|
|
|
extends: .core-defs-lightrec
|
|
|
|
extends: .core-defs-hw
|
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Inclusion templates, required for the build to work
|
2020-10-06 23:37:43 +00:00
|
|
|
include:
|
2020-12-25 16:33:57 +00:00
|
|
|
################################## DESKTOPS ################################
|
|
|
|
# Windows 64-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/windows-x64-mingw.yml'
|
2021-01-02 10:32:40 +00:00
|
|
|
|
|
|
|
# Windows 32-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/windows-i686-mingw.yml'
|
2020-12-25 16:33:57 +00:00
|
|
|
|
|
|
|
# Linux 64-bit
|
2020-10-06 23:37:43 +00:00
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/linux-x64.yml'
|
2020-12-25 16:33:57 +00:00
|
|
|
|
|
|
|
################################## CELLULAR ################################
|
|
|
|
# Android
|
2020-10-06 23:37:43 +00:00
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/android-jni.yml'
|
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Stages for building
|
2020-10-06 23:37:43 +00:00
|
|
|
stages:
|
|
|
|
- build-prepare
|
|
|
|
- build-shared
|
|
|
|
- build-static
|
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
##############################################################################
|
|
|
|
#################################### STAGES ##################################
|
|
|
|
##############################################################################
|
|
|
|
#
|
|
|
|
################################### DESKTOPS #################################
|
|
|
|
# Windows 64-bit
|
2020-10-06 23:37:43 +00:00
|
|
|
libretro-build-windows-x64:
|
|
|
|
extends:
|
|
|
|
- .libretro-windows-x64-mingw-make-default
|
2020-12-17 16:57:59 +00:00
|
|
|
- .core-defs-lightrec
|
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Windows 64-bit (HW)
|
|
|
|
libretro-build-windows-x64-hw:
|
2020-10-06 23:37:43 +00:00
|
|
|
extends:
|
2020-12-25 16:33:57 +00:00
|
|
|
- .libretro-windows-x64-mingw-make-default
|
|
|
|
- .core-defs-hw-lightrec
|
2021-01-02 10:31:04 +00:00
|
|
|
|
|
|
|
# Windows 32-bit
|
|
|
|
libretro-build-windows-i686:
|
|
|
|
extends:
|
|
|
|
- .libretro-windows-i686-mingw-make-default
|
|
|
|
- .core-defs-lightrec
|
|
|
|
|
|
|
|
# Windows 32-bit (HW)
|
|
|
|
libretro-build-windows-i686-hw:
|
|
|
|
extends:
|
|
|
|
- .libretro-windows-i686-mingw-make-default
|
|
|
|
- .core-defs-hw-lightrec
|
2020-12-17 16:57:59 +00:00
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Linux 64-bit
|
|
|
|
libretro-build-linux-x64:
|
2020-10-06 23:37:43 +00:00
|
|
|
extends:
|
2020-12-25 16:33:57 +00:00
|
|
|
- .libretro-linux-x64-make-default
|
|
|
|
- .core-defs-lightrec
|
2020-12-17 16:57:59 +00:00
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Linux 64-bit (HW)
|
2020-12-17 16:57:59 +00:00
|
|
|
libretro-build-linux-x64-hw:
|
|
|
|
extends:
|
|
|
|
- .libretro-linux-x64-make-default
|
|
|
|
- .core-defs-hw-lightrec
|
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# MacOS 64-bit
|
2020-12-25 16:49:34 +00:00
|
|
|
#libretro-build-osx-x64:
|
|
|
|
#extends:
|
|
|
|
#- .libretro-osx-x64-make-default
|
|
|
|
#- .core-defs
|
2020-12-25 16:33:57 +00:00
|
|
|
|
|
|
|
################################### CELLULAR #################################
|
|
|
|
# Android ARMv7a
|
|
|
|
android-armeabi-v7a:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-armeabi-v7a
|
|
|
|
- .core-defs
|
2020-12-17 16:57:59 +00:00
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Android ARMv7a (HW)
|
2020-12-17 16:57:59 +00:00
|
|
|
android-armeabi-v7a-hw:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-armeabi-v7a
|
2020-12-18 17:45:59 +00:00
|
|
|
- .core-defs-hw
|
2020-12-17 16:57:59 +00:00
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Android ARMv8a
|
|
|
|
android-arm64-v8a:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-arm64-v8a
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Android ARMv8a (HW)
|
2020-12-17 16:57:59 +00:00
|
|
|
android-arm64-v8a-hw:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-arm64-v8a
|
2020-12-18 17:45:59 +00:00
|
|
|
- .core-defs-hw
|
2020-12-17 16:57:59 +00:00
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Android 64-bit x86
|
|
|
|
android-x86_64:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-x86_64
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Android 64-bit x86 (HW)
|
2020-12-17 16:57:59 +00:00
|
|
|
android-x86_64-hw:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-x86_64
|
2020-12-18 17:45:59 +00:00
|
|
|
- .core-defs-hw
|
2020-12-17 16:57:59 +00:00
|
|
|
|
2020-12-25 16:33:57 +00:00
|
|
|
# Android 32-bit x86
|
|
|
|
android-x86:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-x86
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Android 32-bit x86 (HW)
|
2020-12-17 16:57:59 +00:00
|
|
|
android-x86-hw:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-x86
|
2020-12-18 17:45:59 +00:00
|
|
|
- .core-defs-hw
|