Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Dec 1, 2020
1 parent 7279b3f commit bbb54b9
Showing 1 changed file with 64 additions and 17 deletions.
81 changes: 64 additions & 17 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,80 +1,127 @@
# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)

##############################################################################
################################# BOILERPLATE ################################
##############################################################################

# Core definitions
.core-defs:
variables:
JNI_PATH: libgambatte/libretro
CORENAME: gambatte

# Inclusion templates, required for the build to work
include:
- template: Jobs/Code-Quality.gitlab-ci.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'

################################## CONSOLES ################################
# Nintendo Switch
- project: 'libretro-infrastructure/ci-templates'
file: '/libnx-static.yml'

# PlayStation Vita
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'

# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-x64.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-mingw.yml'

# OpenDingux
- project: 'libretro-infrastructure/ci-templates'
file: '/dingux-i386.yml'
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'

# Stages for building
stages:
- build-prepare
- build-shared
- build-static
- test

#Desktop
libretro-build-linux-x64:
##############################################################################
#################################### STAGES ##################################
##############################################################################
#
################################### DESKTOPS #################################
# Windows 64-bit
libretro-build-windows-x64:
extends:
- .core-defs
- .libretro-linux-x64-make-default
- .libretro-windows-x64-mingw-make-default

libretro-build-windows-x64:
# Linux 64-bit
libretro-build-linux-x64:
extends:
- .core-defs
- .libretro-windows-x64-mingw-make-default
- .libretro-linux-x64-make-default

libretro-build-dingux-i386:
# MacOS 64-bit
libretro-build-osx-x64:
extends:
- .core-defs
- .libretro-dingux-i386-make-default
- .libretro-osx-x64-make-default

# Android
################################### CELLULAR #################################
# Android ARMv7a
android-armeabi-v7a:
extends:
- .core-defs
- .libretro-android-jni-armeabi-v7a

# Android ARMv8a
android-arm64-v8a:
extends:
- .core-defs
- .libretro-android-jni-arm64-v8a

# Android 64-bit x86
android-x86_64:
extends:
- .core-defs
- .libretro-android-jni-x86_64

# Android 32-bit x86
android-x86:
extends:
- .core-defs
- .libretro-android-jni-x86

# Static
################################### CONSOLES #################################
# Nintendo Switch
libretro-build-libnx-aarch64:
extends:
- .core-defs
- .libretro-libnx-static-retroarch-master

# PlayStation Vita
libretro-build-vita:
extends:
- .core-defs
- .libretro-vita-static-retroarch-master

# PlayStation Portable
libretro-build-psp:
extends:
- .core-defs
- .libretro-psp-static-retroarch-master

# OpenDingux
libretro-build-dingux-i386:
extends:
- .core-defs
- .libretro-dingux-i386-make-default

0 comments on commit bbb54b9

Please sign in to comment.