2021-01-31 19:48:19 +00:00
|
|
|
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
|
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
################################# BOILERPLATE ################################
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
# Core definitions
|
|
|
|
.core-defs:
|
|
|
|
variables:
|
|
|
|
JNI_PATH: .
|
|
|
|
CORENAME: dosbox_pure
|
|
|
|
|
|
|
|
# Inclusion templates, required for the build to work
|
|
|
|
include:
|
|
|
|
################################## DESKTOPS ################################
|
|
|
|
# Windows 64-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/windows-x64-mingw.yml'
|
|
|
|
|
|
|
|
# Windows 32-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/windows-i686-mingw.yml'
|
|
|
|
|
|
|
|
# Linux 64-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/linux-x64.yml'
|
|
|
|
|
|
|
|
# Linux 32-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/linux-i686.yml'
|
|
|
|
|
|
|
|
# MacOS 64-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/osx-x64.yml'
|
|
|
|
|
2021-03-23 18:23:18 +00:00
|
|
|
# MacOS ARM 64-bit
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/osx-arm64.yml'
|
|
|
|
|
2021-01-31 19:48:19 +00:00
|
|
|
################################## CELLULAR ################################
|
|
|
|
# Android
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/android-jni.yml'
|
|
|
|
|
2021-03-23 18:17:39 +00:00
|
|
|
# iOS
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/ios-arm64.yml'
|
|
|
|
|
|
|
|
# iOS (armv7)
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/ios9.yml'
|
|
|
|
|
2021-05-21 16:16:10 +00:00
|
|
|
################################## CONSOLES ################################
|
|
|
|
# Nintendo 3DS
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/ctr-static.yml'
|
2021-03-10 16:35:13 +00:00
|
|
|
|
2021-05-21 16:16:10 +00:00
|
|
|
# Nintendo WiiU
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/wiiu-static.yml'
|
2021-03-10 16:35:13 +00:00
|
|
|
|
|
|
|
# Nintendo Switch
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/libnx-static.yml'
|
|
|
|
|
2021-05-21 16:16:10 +00:00
|
|
|
# PlayStation Vita
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/vita-static.yml'
|
2021-01-31 19:48:19 +00:00
|
|
|
|
2021-03-23 18:07:09 +00:00
|
|
|
# OpenDingux
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/dingux-mips32.yml'
|
|
|
|
|
2021-03-23 18:17:39 +00:00
|
|
|
# tvOS (AppleTV)
|
|
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
|
|
file: '/tvos-arm64.yml'
|
|
|
|
|
2021-05-21 16:16:10 +00:00
|
|
|
##############################################################################
|
|
|
|
#################################### STAGES ##################################
|
|
|
|
##############################################################################
|
2021-03-23 18:17:39 +00:00
|
|
|
|
2021-01-31 19:48:19 +00:00
|
|
|
# Stages for building
|
|
|
|
stages:
|
|
|
|
- build-prepare
|
|
|
|
- build-shared
|
2021-05-21 16:16:10 +00:00
|
|
|
- build-static
|
2021-01-31 19:48:19 +00:00
|
|
|
|
|
|
|
################################### DESKTOPS #################################
|
|
|
|
# Windows 64-bit
|
|
|
|
libretro-build-windows-x64:
|
|
|
|
extends:
|
|
|
|
- .libretro-windows-x64-mingw-make-default
|
|
|
|
- .core-defs
|
|
|
|
variables:
|
|
|
|
ISWIN: 1
|
|
|
|
|
|
|
|
# Windows 32-bit
|
|
|
|
libretro-build-windows-i686:
|
|
|
|
extends:
|
|
|
|
- .libretro-windows-i686-mingw-make-default
|
|
|
|
- .core-defs
|
|
|
|
variables:
|
|
|
|
ISWIN: 1
|
|
|
|
|
|
|
|
# Linux 64-bit
|
|
|
|
libretro-build-linux-x64:
|
|
|
|
extends:
|
|
|
|
- .libretro-linux-x64-make-default
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Linux 32-bit
|
|
|
|
libretro-build-linux-i686:
|
|
|
|
extends:
|
|
|
|
- .libretro-linux-i686-make-default
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# MacOS 64-bit
|
|
|
|
libretro-build-osx-x64:
|
|
|
|
extends:
|
|
|
|
- .libretro-osx-x64-make-default
|
|
|
|
- .core-defs
|
|
|
|
variables:
|
|
|
|
ISMAC: 1
|
|
|
|
|
2021-03-23 18:23:18 +00:00
|
|
|
# MacOS ARM 64-bit
|
|
|
|
libretro-build-osx-arm64:
|
|
|
|
extends:
|
|
|
|
- .libretro-osx-arm64-make-default
|
|
|
|
- .core-defs
|
|
|
|
variables:
|
|
|
|
ISMAC: 1
|
|
|
|
|
2021-01-31 19:48:19 +00:00
|
|
|
################################### CELLULAR #################################
|
|
|
|
# Android ARMv7a
|
|
|
|
android-armeabi-v7a:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-armeabi-v7a
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Android ARMv8a
|
|
|
|
android-arm64-v8a:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-arm64-v8a
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Android 64-bit x86
|
|
|
|
android-x86_64:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-x86_64
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# Android 32-bit x86
|
|
|
|
android-x86:
|
|
|
|
extends:
|
|
|
|
- .libretro-android-jni-x86
|
|
|
|
- .core-defs
|
|
|
|
|
2021-03-23 18:17:39 +00:00
|
|
|
# iOS
|
|
|
|
libretro-build-ios-arm64:
|
|
|
|
extends:
|
|
|
|
- .libretro-ios-arm64-make-default
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# iOS (armv7) [iOS 9 and up]
|
|
|
|
libretro-build-ios9:
|
|
|
|
extends:
|
|
|
|
- .libretro-ios9-make-default
|
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# tvOS
|
|
|
|
libretro-build-tvos-arm64:
|
|
|
|
extends:
|
|
|
|
- .libretro-tvos-arm64-make-default
|
|
|
|
- .core-defs
|
|
|
|
|
2021-02-13 12:23:06 +00:00
|
|
|
#################################### CONSOLES #################################
|
2021-03-10 19:39:00 +00:00
|
|
|
## Nintendo 3DS
|
|
|
|
#libretro-build-ctr:
|
|
|
|
# extends:
|
|
|
|
# - .libretro-ctr-static-retroarch-master
|
|
|
|
# - .core-defs
|
2021-03-10 20:01:12 +00:00
|
|
|
|
2021-03-10 19:39:00 +00:00
|
|
|
## Nintendo WiiU
|
|
|
|
#libretro-build-wiiu:
|
|
|
|
# extends:
|
|
|
|
# - .libretro-wiiu-static-retroarch-master
|
|
|
|
# - .core-defs
|
2021-03-10 16:35:13 +00:00
|
|
|
|
2023-11-06 04:50:03 +00:00
|
|
|
# Nintendo Switch
|
|
|
|
libretro-build-libnx-aarch64:
|
|
|
|
extends:
|
|
|
|
- .libretro-libnx-static-retroarch-master
|
|
|
|
- .core-defs
|
2021-03-23 18:07:09 +00:00
|
|
|
|
2021-05-21 16:16:10 +00:00
|
|
|
# PlayStation Vita
|
|
|
|
libretro-build-vita:
|
|
|
|
extends:
|
|
|
|
- .libretro-vita-static-retroarch-master
|
|
|
|
- .core-defs
|
|
|
|
|
2021-03-23 18:07:09 +00:00
|
|
|
# OpenDingux
|
|
|
|
libretro-build-dingux-mips32:
|
|
|
|
extends:
|
|
|
|
- .libretro-dingux-mips32-make-default
|
2021-03-25 20:12:47 +00:00
|
|
|
- .core-defs
|
|
|
|
|
|
|
|
# OpenDingux Beta
|
|
|
|
libretro-build-dingux-odbeta-mips32:
|
|
|
|
extends:
|
|
|
|
- .libretro-dingux-odbeta-mips32-make-default
|
|
|
|
- .core-defs
|