mirror of
https://github.com/libretro/dolphin
synced 2024-09-07 14:14:28 -04:00
66 lines
1.8 KiB
YAML
66 lines
1.8 KiB
YAML
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
|
|
|
|
##############################################################################
|
|
################################# BOILERPLATE ################################
|
|
##############################################################################
|
|
|
|
# Core definitions
|
|
.core-defs:
|
|
variables:
|
|
CORENAME: dolphin
|
|
CORE_ARGS: -DLIBRETRO=ON
|
|
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: normal
|
|
|
|
.core-linux-defs:
|
|
extends: .core-defs
|
|
|
|
.core-windows-defs:
|
|
extends: .core-defs
|
|
|
|
# Inclusion templates, required for the build to work
|
|
include:
|
|
################################## DESKTOPS ################################
|
|
# Windows
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
file: '/windows-cmake-msvc19.yml'
|
|
|
|
# Linux 64-bit
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
file: '/linux-cmake.yml'
|
|
|
|
# MacOS
|
|
- project: 'libretro-infrastructure/ci-templates'
|
|
file: 'osx-cmake-x86.yml'
|
|
|
|
# Stages for building
|
|
stages:
|
|
- build-prepare
|
|
- build-shared
|
|
|
|
##############################################################################
|
|
#################################### STAGES ##################################
|
|
##############################################################################
|
|
#
|
|
################################### DESKTOPS #################################
|
|
# Windows 64-bit
|
|
libretro-build-windows-x64:
|
|
extends:
|
|
- .libretro-windows-msvc19-cmake-x86_64
|
|
- .core-windows-defs
|
|
after_script:
|
|
- move-Item "Binary\$Env:LIBNAME" "$Env:LIBNAME" -Force -ErrorAction SilentlyContinue
|
|
|
|
# Linux 64-bit
|
|
libretro-build-linux-x64:
|
|
extends:
|
|
- .libretro-linux-cmake-x86_64
|
|
- .core-linux-defs
|
|
|
|
# macOS Intel
|
|
libretro-build-osx-x64:
|
|
extends:
|
|
- .libretro-osx-cmake-x86
|
|
- .core-linux-defs
|