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

128 lines
3.3 KiB
YAML
Raw Normal View History

2020-12-25 01:35:25 +00:00
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
##############################################################################
################################# BOILERPLATE ################################
##############################################################################
# Core definitions
2020-10-06 23:07:39 +00:00
.core-defs:
variables:
JNI_PATH: .
CORENAME: mednafen_supergrafx
2020-12-25 01:35:25 +00:00
# Inclusion templates, required for the build to work
2020-10-06 23:07:39 +00:00
include:
2020-12-25 01:35:25 +00:00
################################## DESKTOPS ################################
# Windows 64-bit
2020-10-06 23:07:39 +00:00
- project: 'libretro-infrastructure/ci-templates'
2020-12-25 01:35:25 +00:00
file: '/windows-x64-mingw.yml'
# Linux 64-bit
2020-10-06 23:07:39 +00:00
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
2020-12-25 01:35:25 +00:00
# MacOS 64-bit
2020-12-25 02:05:29 +00:00
#- project: 'libretro-infrastructure/ci-templates'
#file: '/osx-x64.yml'
2020-12-25 01:35:25 +00:00
################################## CELLULAR ################################
# Android
2020-10-06 23:07:39 +00:00
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'
2020-12-25 01:35:25 +00:00
################################## CONSOLES ################################
# Nintendo GameCube
- project: 'libretro-infrastructure/ci-templates'
file: '/ngc-static.yml'
# Nintendo Wii
- project: 'libretro-infrastructure/ci-templates'
file: '/wii-static.yml'
# Nintendo Switch
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
2020-10-06 23:07:39 +00:00
2020-12-25 01:35:25 +00:00
# Stages for building
2020-10-06 23:07:39 +00:00
stages:
- build-prepare
- build-shared
- build-static
2020-12-25 01:35:25 +00:00
##############################################################################
#################################### STAGES ##################################
##############################################################################
#
################################### DESKTOPS #################################
# Windows 64-bit
libretro-build-windows-x64:
2020-10-06 23:07:39 +00:00
extends:
2020-12-25 01:35:25 +00:00
- .libretro-windows-x64-mingw-make-default
2020-10-06 23:07:39 +00:00
- .core-defs
2020-12-25 01:35:25 +00:00
# Linux 64-bit
libretro-build-linux-x64:
2020-10-06 23:07:39 +00:00
extends:
2020-12-25 01:35:25 +00:00
- .libretro-linux-x64-make-default
2020-10-06 23:07:39 +00:00
- .core-defs
2020-12-25 01:35:25 +00:00
# MacOS 64-bit
2020-12-25 02:05:29 +00:00
#libretro-build-osx-x64:
#extends:
#- .libretro-osx-x64-make-default
#- .core-defs
2020-12-25 01:35:25 +00:00
################################### CELLULAR #################################
# Android ARMv7a
android-armeabi-v7a:
extends:
2020-10-06 23:07:39 +00:00
- .libretro-android-jni-armeabi-v7a
2020-12-25 01:35:25 +00:00
- .core-defs
2020-10-06 23:07:39 +00:00
2020-12-25 01:35:25 +00:00
# Android ARMv8a
2020-10-06 23:07:39 +00:00
android-arm64-v8a:
extends:
- .libretro-android-jni-arm64-v8a
2020-12-25 01:35:25 +00:00
- .core-defs
2020-10-06 23:07:39 +00:00
2020-12-25 01:35:25 +00:00
# Android 64-bit x86
2020-10-06 23:07:39 +00:00
android-x86_64:
extends:
- .libretro-android-jni-x86_64
2020-12-25 01:35:25 +00:00
- .core-defs
# Android 32-bit x86
2020-10-06 23:07:39 +00:00
android-x86:
extends:
- .libretro-android-jni-x86
2020-12-25 01:35:25 +00:00
- .core-defs
2020-10-06 23:07:39 +00:00
2020-12-25 01:35:25 +00:00
################################### CONSOLES #################################
# Nintendo GameCube
libretro-build-ngc:
2020-10-06 23:07:39 +00:00
extends:
2020-12-25 01:35:25 +00:00
- .libretro-ngc-static-retroarch-master
2020-10-06 23:07:39 +00:00
- .core-defs
2020-12-25 01:35:25 +00:00
# Nintendo Wii
libretro-build-wii:
2020-10-06 23:07:39 +00:00
extends:
2020-12-25 01:35:25 +00:00
- .libretro-wii-static-retroarch-master
2020-10-06 23:07:39 +00:00
- .core-defs
2020-12-25 01:35:25 +00:00
# Nintendo Switch
libretro-build-libnx-aarch64:
extends:
- .libretro-libnx-static-retroarch-master
- .core-defs
# PlayStation Vita
libretro-build-vita:
extends:
2020-10-06 23:07:39 +00:00
- .libretro-vita-static-retroarch-master
2020-12-25 01:35:25 +00:00
- .core-defs