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

248 lines
5.9 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
.core-defs-lightrec-static-libcplusplus:
extends: .core-defs-lightrec
variables:
LINK_STATIC_LIBCPLUSPLUS: 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
.core-defs-hw-static-libcplusplus:
extends: .core-defs-hw
variables:
LINK_STATIC_LIBCPLUSPLUS: 1
2020-10-06 23:44:48 +00:00
.core-defs-hw-lightrec:
extends: .core-defs-lightrec
extends: .core-defs-hw
.core-defs-hw-lightrec-static-libcplusplus:
extends: .core-defs-hw-lightrec
variables:
LINK_STATIC_LIBCPLUSPLUS: 1
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
2021-01-07 19:32:55 +00:00
# Linux 32-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-i686.yml'
2021-01-27 03:38:00 +00:00
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
# MacOS ARM 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-arm64.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'
2021-03-11 06:33:18 +00:00
# iOS
- project: 'libretro-infrastructure/ci-templates'
file: '/ios-arm64.yml'
# iOS (armv7)
2021-01-07 19:32:55 +00:00
- project: 'libretro-infrastructure/ci-templates'
file: '/ios9.yml'
2021-03-11 06:33:18 +00:00
################################## CONSOLES ################################
# tvOS (AppleTV)
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
#################################### MISC ##################################
2021-01-09 16:14:59 +00:00
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-static-libcplusplus
2021-01-07 19:32:55 +00:00
# Linux 32-bit
libretro-build-linux-i686:
extends:
- .libretro-linux-i686-make-default
- .core-defs-lightrec-static-libcplusplus
2021-01-07 19:32:55 +00:00
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-static-libcplusplus
2021-01-07 19:32:55 +00:00
# Linux 32-bit (HW)
libretro-build-linux-i686-hw:
extends:
- .libretro-linux-i686-make-default
- .core-defs-hw-lightrec-static-libcplusplus
2021-01-07 19:32:55 +00:00
2020-12-25 16:33:57 +00:00
# MacOS 64-bit
2021-01-27 03:38:00 +00:00
libretro-build-osx-x64:
extends:
- .libretro-osx-x64-make-default
- .core-defs
2023-02-24 00:45:59 +00:00
libretro-build-osx-x64-hw:
extends:
- .libretro-osx-x64-make-default
- .core-defs-hw
2021-01-27 03:38:00 +00:00
# MacOS ARM 64-bit
libretro-build-osx-arm64:
extends:
- .libretro-osx-arm64-make-default
- .core-defs
2020-12-25 16:33:57 +00:00
2023-02-24 00:45:59 +00:00
libretro-build-osx-arm64-hw:
extends:
- .libretro-osx-arm64-make-default
- .core-defs-hw
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
2021-01-07 19:32:55 +00:00
2021-03-11 06:33:18 +00:00
# iOS
libretro-build-ios-arm64:
extends:
- .libretro-ios-arm64-make-default
- .core-defs
2023-05-06 04:07:14 +00:00
libretro-build-ios-arm64-hw:
extends:
- .libretro-ios-arm64-make-default
- .core-defs-hw
2021-03-11 06:33:18 +00:00
# iOS (armv7) [iOS 9 and up]
libretro-build-ios9:
2021-01-07 19:32:55 +00:00
extends:
- .libretro-ios9-make-default
- .core-defs
2021-03-11 06:33:18 +00:00
# tvOS
libretro-build-tvos-arm64:
extends:
- .libretro-tvos-arm64-make-default
- .core-defs
2023-05-08 15:22:04 +00:00
libretro-build-tvos-arm64-hw:
extends:
- .libretro-tvos-arm64-make-default
- .core-defs-hw