aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutechre2020-12-18 17:14:36 +0100
committerGitHub2020-12-18 17:14:36 +0100
commit3d953da115ab78dc376bb1a14ba037737f24c1e6 (patch)
tree96261c44c75f1a468ee2d80997e181f47d7a8490
parentfc663256009278cefd52ba24941889db0e232264 (diff)
parent2b407a5b92835eef7bc4656d08d7b3c74bcb63c2 (diff)
downloadsnes9x2005-3d953da115ab78dc376bb1a14ba037737f24c1e6.tar.gz
snes9x2005-3d953da115ab78dc376bb1a14ba037737f24c1e6.tar.bz2
snes9x2005-3d953da115ab78dc376bb1a14ba037737f24c1e6.zip
Merge pull request #85 from jdgleaver/gitlab-multi-core
(.gitlab-ci.yml) Enable building of both 'snes9x2005' and 'snes9x2005_plus'
-rw-r--r--.gitlab-ci.yml134
-rw-r--r--Makefile2
2 files changed, 117 insertions, 19 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2aab174..6380f74 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,17 +10,28 @@
JNI_PATH: .
CORENAME: snes9x2005
+.core-defs-plus:
+ extends: .core-defs
+ variables:
+ CORENAME: snes9x2005_plus
+ USE_BLARGG_APU: 1
+
+.core-defs-plus-android:
+ extends: .core-defs-plus
+ variables:
+ PLATFORM_ARGS: APP_ABI=$ANDROID_ABI USE_BLARGG_APU=1
+
# Inclusion templates, required for the build to work
include:
################################## 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'
@@ -29,16 +40,16 @@ include:
# Android
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'
-
+
################################## CONSOLES ################################
# PlayStation Portable
- project: 'libretro-infrastructure/ci-templates'
file: '/psp-static.yml'
-
+
# PlayStation Vita
- project: 'libretro-infrastructure/ci-templates'
file: '/vita-static.yml'
-
+
# Nintendo 3DS
- project: 'libretro-infrastructure/ci-templates'
file: '/ctr-static.yml'
@@ -64,19 +75,22 @@ stages:
##############################################################################
#################################### STAGES ##################################
##############################################################################
-#
+
+################################## snes9x2005 ################################
+##############################################################################
+
################################### DESKTOPS #################################
# Windows 64-bit
libretro-build-windows-x64:
extends:
- - .core-defs
- .libretro-windows-x64-mingw-make-default
-
+ - .core-defs
+
# Linux 64-bit
libretro-build-linux-x64:
extends:
- - .core-defs
- .libretro-linux-x64-make-default
+ - .core-defs
# MacOS 64-bit
libretro-build-osx-x64:
@@ -88,40 +102,40 @@ libretro-build-osx-x64:
# Android ARMv7a
android-armeabi-v7a:
extends:
- - .core-defs
- .libretro-android-jni-armeabi-v7a
+ - .core-defs
# Android ARMv8a
android-arm64-v8a:
extends:
- - .core-defs
- .libretro-android-jni-arm64-v8a
+ - .core-defs
# Android 64-bit x86
android-x86_64:
extends:
- - .core-defs
- .libretro-android-jni-x86_64
-
+ - .core-defs
+
# Android 32-bit x86
android-x86:
extends:
- - .core-defs
- .libretro-android-jni-x86
+ - .core-defs
################################### CONSOLES #################################
# PlayStation Portable
libretro-build-psp:
extends:
- - .core-defs
- .libretro-psp-static-retroarch-master
+ - .core-defs
# PlayStation Vita
libretro-build-vita:
extends:
- - .core-defs
- .libretro-vita-static-retroarch-master
-
+ - .core-defs
+
# Nintendo 3DS
libretro-build-ctr:
extends:
@@ -139,9 +153,93 @@ libretro-build-wii:
extends:
- .libretro-wii-static-retroarch-master
- .core-defs
-
+
# OpenDingux
libretro-build-dingux-mips32:
extends:
+ - .libretro-dingux-mips32-make-default
- .core-defs
+
+############################### snes9x2005_plus ##############################
+##############################################################################
+
+################################### DESKTOPS #################################
+# Windows 64-bit
+libretro-build-windows-x64-plus:
+ extends:
+ - .libretro-windows-x64-mingw-make-default
+ - .core-defs-plus
+
+# Linux 64-bit
+libretro-build-linux-x64-plus:
+ extends:
+ - .libretro-linux-x64-make-default
+ - .core-defs-plus
+
+# MacOS 64-bit
+libretro-build-osx-x64-plus:
+ extends:
+ - .libretro-osx-x64-make-default
+ - .core-defs-plus
+
+################################### CELLULAR #################################
+# Android ARMv7a
+android-armeabi-v7a-plus:
+ extends:
+ - .libretro-android-jni-armeabi-v7a
+ - .core-defs-plus-android
+
+# Android ARMv8a
+android-arm64-v8a-plus:
+ extends:
+ - .libretro-android-jni-arm64-v8a
+ - .core-defs-plus-android
+
+# Android 64-bit x86
+android-x86_64-plus:
+ extends:
+ - .libretro-android-jni-x86_64
+ - .core-defs-plus-android
+
+# Android 32-bit x86
+android-x86-plus:
+ extends:
+ - .libretro-android-jni-x86
+ - .core-defs-plus-android
+
+################################### CONSOLES #################################
+# PlayStation Portable
+libretro-build-psp-plus:
+ extends:
+ - .libretro-psp-static-retroarch-master
+ - .core-defs-plus
+
+# PlayStation Vita
+libretro-build-vita-plus:
+ extends:
+ - .libretro-vita-static-retroarch-master
+ - .core-defs-plus
+
+# Nintendo 3DS
+libretro-build-ctr-plus:
+ extends:
+ - .libretro-ctr-static-retroarch-master
+ - .core-defs-plus
+
+# Nintendo GameCube
+libretro-build-ngc-plus:
+ extends:
+ - .libretro-ngc-static-retroarch-master
+ - .core-defs-plus
+
+# Nintendo Wii
+libretro-build-wii-plus:
+ extends:
+ - .libretro-wii-static-retroarch-master
+ - .core-defs-plus
+
+# OpenDingux
+libretro-build-dingux-mips32-plus:
+ extends:
- .libretro-dingux-mips32-make-default
+ - .core-defs-plus
diff --git a/Makefile b/Makefile
index 0ff0410..22e84ee 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
DEBUG = 0
PERF_TEST = 0
LOAD_FROM_MEMORY_TEST = 1
-USE_BLARGG_APU = 0
+USE_BLARGG_APU ?= 0
LAGFIX = 1
USE_OLD_COLOUR_OPS = 0