Files
Mu/.gitlab-ci.yml
2024-06-25 12:47:43 -04:00

307 lines
8.2 KiB
YAML

##############################################################################
################################# BOILERPLATE ################################
##############################################################################
# Core definitions
.core-defs:
variables:
CORENAME: mu
JNI_PATH: libretroBuildSystem
MAKEFILE_PATH: libretroBuildSystem
MAKEFILE: Makefile.libretro
# Inclusion templates, required for the build to work
include:
- project: 'libretro-infrastructure/ci-templates'
file: '/android-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ctr-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ctr-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-mips32.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/djgpp-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/emscripten-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/emscripten-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ios-arm64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ios-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ios9.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ngc-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ngc-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/orbis-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-arm64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-cmake-arm64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-cmake-ppc.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-cmake-x86.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ps2-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/ps2-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-arm64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/wii-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/wii-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/wiiu-static-cmake.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/wiiu-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-cmake-mingw.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-cmake-msvc19.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-i686-mingw.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-i686-msvc05-msys2.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-i686-msvc10-msys2.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-mingw.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-msvc10-msys2.yml'
# Stages for building
stages:
- build-prepare
- build-shared
- build-static
##############################################################################
#################################### STAGES ##################################
##############################################################################
################################### DESKTOPS #################################
# Windows 64-bit
libretro-build-windows-x64:
extends:
- .libretro-windows-x64-mingw-make-default
- .core-defs
# Windows 32-bit
libretro-build-windows-i686:
extends:
- .libretro-windows-i686-mingw-make-default
- .core-defs
# Windows msvc10 64-bit
libretro-build-windows-msvc10-x64:
extends:
- .libretro-windows-x64-msvc10-msys2-make-default
- .core-defs
# Windows msvc10 32-bit
libretro-build-windows-msvc10-i686:
extends:
- .libretro-windows-i686-msvc10-msys2-make-default
- .core-defs
# Windows msvc05 32-bit
libretro-build-windows-msvc05-i686:
extends:
- .libretro-windows-i686-msvc05-msys2-make-default
- .core-defs
# linux-cmake.yml
libretro-build-linux-i686:
extends:
- .libretro-linux-cmake-x86
- .core-defs
# Linux 64-bit
libretro-build-linux-x64:
extends:
- .libretro-linux-x64-make-default
- .core-defs
# MacOS 64-bit
libretro-build-osx-x64:
extends:
- .libretro-osx-x64-make-default
- .core-defs
# MacOS ARM 64-bit
libretro-build-osx-arm64:
extends:
- .libretro-osx-arm64-make-default
- .core-defs
# osx-cmake-ppc.yml
libretro-build-osx-ppc:
extends:
- .libretro-osx-cmake-ppc
- .core-defs
# osx-cmake-x86.yml
libretro-build-osx-x86: # TODO: What should this be called?
extends:
- .libretro-osx-cmake-x86
- .core-defs
################################### 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
# iOS 9
libretro-build-ios9:
extends:
- .libretro-ios9-make-default
- .core-defs
# iOS
libretro-build-ios-arm64:
extends:
- .libretro-ios-arm64-make-default
- .core-defs
# tvOS
libretro-build-tvos-arm64:
extends:
- .libretro-tvos-arm64-make-default
- .core-defs
################################### CONSOLES #################################
# Dingux (GCW Zero)
libretro-build-dingux-mips32:
extends:
- .libretro-dingux-mips32-make-default
- .core-defs
# Nintendo 3DS
libretro-build-ctr:
extends:
- .libretro-ctr-static-retroarch-master
- .core-defs
# Nintendo GameCube
libretro-build-ngc:
extends:
- .libretro-ngc-static-retroarch-master
- .core-defs
# Nintendo Wii
libretro-build-wii:
extends:
- .libretro-wii-static-retroarch-master
- .core-defs
# Nintendo Wii U
libretro-build-wiiu:
extends:
- .libretro-wiiu-static-retroarch-master
- .core-defs
# Nintendo Switch
libretro-build-libnx-aarch64:
extends:
- .libretro-libnx-static-retroarch-master
- .core-defs
# PlayStation 2
libretro-build-ps2:
extends:
- .libretro-ps2-static-retroarch-master
- .core-defs
# psp-static-cmake.yml
libretro-build-psp:
extends:
- .libretro-psp-static-cmake-retroarch-master
- .core-defs
# PlayStation Vita
libretro-build-vita:
extends:
- .libretro-vita-static-retroarch-master
- .core-defs
#################################### MISC ##################################
# Emscripten
libretro-build-emscripten:
extends:
- .libretro-emscripten-static-retroarch-master
- .core-defs
libretro-build-dingux-odbeta-mips32:
extends:
- .libretro-dingux-odbeta-cmake-mips32
- .core-defs
libretro-build-miyoo-arm32:
extends:
- .libretro-miyoo-cmake-arm32
- .core-defs
libretro-build-retrofw-mips32:
extends:
- .libretro-retrofw-odbeta-cmake-mips32
- .core-defs
libretro-build-rs90-odbeta-mips32:
extends:
- .libretro-rs90-odbeta-cmake-mips32
- .core-defs
# djgpp-static-cmake.yml
libretro-build-djgpp: # TODO: What should this be called?
extends:
- .libretro-djgpp-static-cmake-retroarch-master
- .core-defs