diff options
-rw-r--r-- | .gitlab-ci.yml | 52 |
1 files changed, 38 insertions, 14 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf1c658..d6d4dd3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,31 +1,55 @@ +# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
+
+##############################################################################
+################################# BOILERPLATE ################################
+##############################################################################
+
+# Core definitions
.core-defs:
variables:
CORENAME: blastem
+ MAKEFILE: Makefile.libretro
+# Inclusion templates, required for the build to work
include:
- - template: Jobs/Code-Quality.gitlab-ci.yml
- - project: 'libretro-infrastructure/ci-templates'
- file: '/linux-x64.yml'
+ ################################## DESKTOPS ################################
+ # Windows 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/windows-x64-mingw.yml'
+
+ # Windows 32-bit
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/windows-i686-mingw.yml'
+
+ # Linux 64-bit
+ - project: 'libretro-infrastructure/ci-templates'
+ file: '/linux-x64.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
- variables:
- MAKEFILE: Makefile.libretro
-
-libretro-build-windows-x64:
+
+# Windows 32-bit
+libretro-build-windows-i686:
extends:
+ - .libretro-windows-i686-mingw-make-default
+ - .core-defs
+
+# Linux 64-bit
+libretro-build-linux-x64:
+ extends:
+ - .libretro-linux-x64-make-default
- .core-defs
- - .libretro-windows-x64-mingw-make-default
- variables:
- MAKEFILE: Makefile.libretro
|