Update .gitlab-ci.yml

This commit is contained in:
Autechre
2020-12-17 16:18:47 +01:00
committed by GitHub
parent bda9478afc
commit ddb78d7643
+36 -13
View File
@@ -1,28 +1,51 @@
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
##############################################################################
################################# BOILERPLATE ################################
##############################################################################
# Core definitions
.core-defs:
variables:
JNI_PATH: .
CORENAME: atari800
# Inclusion templates, required for the build to work
include:
- template: Jobs/Code-Quality.gitlab-ci.yml
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
################################## DESKTOPS ################################
# Windows 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-mingw.yml'
# Linux 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
################################## CELLULAR ################################
# Android
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'
# Nintendo Switch
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'
# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'
# PlayStation Vita
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
# Stages for building
stages:
- build-prepare
- build-shared
- build-static
- test
#Desktop
libretro-build-linux-x64:
@@ -32,8 +55,8 @@ libretro-build-linux-x64:
libretro-build-windows-x64:
extends:
- .core-defs
- .libretro-windows-x64-mingw-make-default
- .core-defs
# Android
android-armeabi-v7a:
@@ -64,10 +87,10 @@ libretro-build-libnx-aarch64:
libretro-build-vita:
extends:
- .core-defs
- .libretro-vita-static-retroarch-master
- .core-defs
libretro-build-psp:
extends:
- .core-defs
- .libretro-psp-static-retroarch-master
- .core-defs