beetle-psx-libretro/.gitlab-ci.yml

149 lines
3.6 KiB
YAML
Raw Normal View History

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
.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:
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
- .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-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-25 16:33:57 +00:00
# Linux 64-bit (HW)
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-25 16:33:57 +00:00
# Android ARMv7a (HW)
android-armeabi-v7a-hw:
extends:
- .libretro-android-jni-armeabi-v7a
- .core-defs-hw
2020-12-25 16:33:57 +00:00
# Android ARMv8a
android-arm64-v8a:
extends:
- .libretro-android-jni-arm64-v8a
- .core-defs
# Android ARMv8a (HW)
android-arm64-v8a-hw:
extends:
- .libretro-android-jni-arm64-v8a
- .core-defs-hw
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)
android-x86_64-hw:
extends:
- .libretro-android-jni-x86_64
- .core-defs-hw
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)
android-x86-hw:
extends:
- .libretro-android-jni-x86
- .core-defs-hw