summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2020-12-25 03:33:43 +0100
committertwinaphex2020-12-25 03:33:43 +0100
commite6e67dc965f41dcb470692949af39e54d1cdf355 (patch)
treed7725f6d109785035f71e63824b6a2271fc2792a
parentc77c50da40bc4d6e4c6b40b473d015c53fb110a0 (diff)
downloadsnes9x2002-e6e67dc965f41dcb470692949af39e54d1cdf355.tar.gz
snes9x2002-e6e67dc965f41dcb470692949af39e54d1cdf355.tar.bz2
snes9x2002-e6e67dc965f41dcb470692949af39e54d1cdf355.zip
Update
-rw-r--r--.gitlab-ci.yml90
-rw-r--r--libretro/libretro-common/include/libretro.h2
2 files changed, 75 insertions, 17 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4cc262d..3a65cf9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,59 +1,117 @@
+# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
+
+##############################################################################
+################################# BOILERPLATE ################################
+##############################################################################
+
+# Core definitions
.core-defs:
variables:
JNI_PATH: .
CORENAME: snes9x2002
+# 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: '/vita-static.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: '/windows-x64-mingw.yml'
+ file: '/osx-x64.yml'
+
+ ################################## CELLULAR ################################
+ # Android
- project: 'libretro-infrastructure/ci-templates'
file: '/android-jni.yml'
+ ################################## CONSOLES ################################
+ # PlayStation Vita
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/vita-static.yml'
+
+ # Nintendo GameCube
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/ngc-static.yml'
+
+ # Nintendo Wii
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/wii-static.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:
+ - .libretro-windows-x64-mingw-make-default
- .core-defs
- - .libretro-linux-x64-make-default
-libretro-build-windows-x64:
+# Linux 64-bit
+libretro-build-linux-x64:
extends:
+ - .libretro-linux-x64-make-default
- .core-defs
- - .libretro-windows-x64-mingw-make-default
-# Android
-android-armeabi-v7a:
+# MacOS 64-bit
+libretro-build-osx-x64:
extends:
+ - .libretro-osx-x64-make-default
- .core-defs
+
+################################### CELLULAR #################################
+# Android ARMv7a
+android-armeabi-v7a:
+ extends:
- .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
-# Static
+################################### CONSOLES #################################
+# PlayStation Vita
libretro-build-vita:
extends:
- - .core-defs
- .libretro-vita-static-retroarch-master
+ - .core-defs
+
+# Nintendo GameCube
+libretro-build-ngc:
+ extends:
+ - .libretro-ngc-static-retroarch-master
+ - .core-defs
+
+# Nintendo Wii
+libretro-build-wii:
+ extends:
+ - .libretro-wii-static-retroarch-master
+ - .core-defs
diff --git a/libretro/libretro-common/include/libretro.h b/libretro/libretro-common/include/libretro.h
index 7add848..f97a969 100644
--- a/libretro/libretro-common/include/libretro.h
+++ b/libretro/libretro-common/include/libretro.h
@@ -69,7 +69,7 @@ extern "C" {
# endif
# endif
# else
-# if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__CELLOS_LV2__)
+# if defined(__GNUC__) && __GNUC__ >= 4
# define RETRO_API RETRO_CALLCONV __attribute__((__visibility__("default")))
# else
# define RETRO_API RETRO_CALLCONV