ppsspp/.gitlab-ci.yml

162 lines
3.9 KiB
YAML
Raw Normal View History

2021-03-26 15:05:53 +00:00
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
##############################################################################
################################# BOILERPLATE ################################
##############################################################################
# Core definitions
variables:
2022-10-03 13:50:33 +00:00
GIT_SUBMODULE_STRATEGY: recursive
2020-10-16 07:11:55 +00:00
.core-defs:
variables:
CORENAME: ppsspp
CORE_ARGS: -DLIBRETRO=ON
2021-03-26 17:06:36 +00:00
.cmake-defs:
variables:
EXTRA_PATH: lib
2020-10-16 07:11:55 +00:00
2021-03-26 17:06:36 +00:00
.make-defs:
variables:
MAKEFILE_PATH: libretro
2021-03-26 15:05:53 +00:00
# Inclusion templates, required for the build to work
2020-10-16 07:11:55 +00:00
include:
2021-03-26 15:05:53 +00:00
################################## DESKTOPS ################################
# Windows 64bit
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-msvc19-msys2.yml'
2021-03-26 15:05:53 +00:00
# Windows 32bit
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-i686-msvc19-msys2.yml'
2020-10-16 07:11:55 +00:00
2021-03-26 15:05:53 +00:00
# Linux
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-cmake.yml'
2021-03-26 17:18:38 +00:00
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
2023-01-31 13:25:18 +00:00
file: '/osx-cmake-x86.yml'
# MacOS arm64
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-cmake-arm64.yml'
2021-03-26 15:05:53 +00:00
################################## CELLULAR ################################
# Android
- project: 'libretro-infrastructure/ci-templates'
file: '/android-cmake.yml'
2023-02-07 04:36:55 +00:00
# iOS
- project: 'libretro-infrastructure/ci-templates'
file: '/ios-cmake.yml'
2023-02-07 17:11:35 +00:00
# tvOS
- project: 'libretro-infrastructure/ci-templates'
file: '/tvos-cmake.yml'
2021-03-26 17:06:36 +00:00
################################## CONSOLES ################################
2021-03-26 15:05:53 +00:00
#################################### MISC ##################################
# Stages for building
2020-10-16 07:11:55 +00:00
stages:
- build-prepare
- build-shared
2021-03-26 15:05:53 +00:00
##############################################################################
#################################### STAGES ##################################
##############################################################################
#
################################### DESKTOPS #################################
2021-03-26 17:06:36 +00:00
# Windows 64-bit
libretro-build-windows-x64:
extends:
- .libretro-windows-x64-msvc19-msys2-make-default
- .core-defs
- .make-defs
# Windows 32-bit
libretro-build-windows-i686:
extends:
- .libretro-windows-i686-msvc19-msys2-make-default
- .core-defs
- .make-defs
2021-03-26 15:05:53 +00:00
# Linux 64-bit
2021-01-28 23:57:00 +00:00
libretro-build-linux-x64:
2020-10-16 07:11:55 +00:00
extends:
- .libretro-linux-cmake-x86_64
2020-10-16 07:11:55 +00:00
- .core-defs
2021-03-26 17:06:36 +00:00
- .cmake-defs
2020-10-16 07:11:55 +00:00
2021-03-26 15:05:53 +00:00
# Linux 32-bit
libretro-build-linux-i686:
extends:
- .libretro-linux-cmake-x86
- .core-defs
2021-03-26 17:06:36 +00:00
- .cmake-defs
2021-03-26 17:06:36 +00:00
# MacOS 64-bit
libretro-build-osx-x64:
2021-06-04 18:12:57 +00:00
tags:
- macosx-packaging
extends:
- .libretro-osx-cmake-x86_64
- .core-defs
- .cmake-defs
# MacOS 64-bit
libretro-build-osx-arm64:
tags:
- macosx-packaging
extends:
- .libretro-osx-cmake-arm64
- .core-defs
- .cmake-defs
2021-03-26 15:05:53 +00:00
################################### CELLULAR #################################
# Android ARMv7a
libretro-build-android-armeabi-v7a:
2020-10-16 07:11:55 +00:00
extends:
- .libretro-android-cmake-armeabi-v7a
2020-10-16 07:11:55 +00:00
- .core-defs
2021-03-26 15:05:53 +00:00
# Android ARMv8a
libretro-build-android-arm64-v8a:
2020-10-16 07:11:55 +00:00
extends:
- .libretro-android-cmake-arm64-v8a
2020-10-16 07:11:55 +00:00
- .core-defs
2021-03-26 15:05:53 +00:00
# Android 64-bit x86
libretro-build-android-x86_64:
2020-10-16 07:11:55 +00:00
extends:
- .libretro-android-cmake-x86_64
2020-10-16 07:11:55 +00:00
- .core-defs
2021-03-26 15:05:53 +00:00
# Android 32-bit x86
libretro-build-android-x86:
2020-10-16 07:11:55 +00:00
extends:
- .libretro-android-cmake-x86
2020-10-16 07:11:55 +00:00
- .core-defs
2023-02-07 04:36:55 +00:00
# iOS arm64
libretro-build-ios-arm64:
extends:
- .libretro-ios-cmake-arm64
- .core-defs
- .cmake-defs
variables:
CORE_ARGS: -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/ios.cmake -DLIBRETRO=ON
2023-02-07 17:11:35 +00:00
# tvOS arm64
libretro-build-tvos-arm64:
extends:
- .libretro-tvos-cmake-arm64
- .core-defs
- .cmake-defs
variables:
CORE_ARGS: -DIOS_PLATFORM=TVOS -DUSE_FFMPEG=NO -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/ios.cmake -DLIBRETRO=ON