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: .core-defs:
variables: variables:
JNI_PATH: . JNI_PATH: .
CORENAME: atari800 CORENAME: atari800
# Inclusion templates, required for the build to work
include: include:
- template: Jobs/Code-Quality.gitlab-ci.yml ################################## DESKTOPS ################################
- project: 'libretro-infrastructure/ci-templates' # Windows 64-bit
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'
- project: 'libretro-infrastructure/ci-templates' - project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-mingw.yml' 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' - project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml' 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: stages:
- build-prepare - build-prepare
- build-shared - build-shared
- build-static - build-static
- test
#Desktop #Desktop
libretro-build-linux-x64: libretro-build-linux-x64:
@@ -32,8 +55,8 @@ libretro-build-linux-x64:
libretro-build-windows-x64: libretro-build-windows-x64:
extends: extends:
- .core-defs
- .libretro-windows-x64-mingw-make-default - .libretro-windows-x64-mingw-make-default
- .core-defs
# Android # Android
android-armeabi-v7a: android-armeabi-v7a:
@@ -64,10 +87,10 @@ libretro-build-libnx-aarch64:
libretro-build-vita: libretro-build-vita:
extends: extends:
- .core-defs
- .libretro-vita-static-retroarch-master - .libretro-vita-static-retroarch-master
- .core-defs
libretro-build-psp: libretro-build-psp:
extends: extends:
- .core-defs
- .libretro-psp-static-retroarch-master - .libretro-psp-static-retroarch-master
- .core-defs