Update .gitlab-ci.yml
[pcsx_rearmed.git] / .gitlab-ci.yml
CommitLineData
3d985519
A
1# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
2
3##############################################################################
4################################# BOILERPLATE ################################
5##############################################################################
6
7# Core definitions
8.core-defs:
9 variables:
10 JNI_PATH: .
7fd9f710 11 MAKEFILE: Makefile.libretro
3d985519
A
12 CORENAME: pcsx_rearmed
13
14# Inclusion templates, required for the build to work
15include:
16 ################################## DESKTOPS ################################
17 # Windows 64-bit
18 - project: 'libretro-infrastructure/ci-templates'
19 file: '/windows-x64-mingw.yml'
20
21 # Linux 64-bit
22 - project: 'libretro-infrastructure/ci-templates'
23 file: '/linux-x64.yml'
24
25 # MacOS 64-bit
26 - project: 'libretro-infrastructure/ci-templates'
27 file: '/osx-x64.yml'
28
29 ################################## CELLULAR ################################
30 # Android
31 - project: 'libretro-infrastructure/ci-templates'
32 file: '/android-jni.yml'
33
34 ################################## CONSOLES ################################
35 # PlayStation Portable
36 - project: 'libretro-infrastructure/ci-templates'
37 file: '/psp-static.yml'
38
39 # PlayStation Vita
40 - project: 'libretro-infrastructure/ci-templates'
41 file: '/vita-static.yml'
42
43 # Nintendo 3DS
44 - project: 'libretro-infrastructure/ci-templates'
45 file: '/ctr-static.yml'
46
47 # Nintendo Switch
48 - project: 'libretro-infrastructure/ci-templates'
49 file: '/libnx-static.yml'
50
51# Stages for building
52stages:
53 - build-prepare
54 - build-shared
55 - build-static
56
57##############################################################################
58#################################### STAGES ##################################
59##############################################################################
60#
61################################### DESKTOPS #################################
62# Windows 64-bit
63libretro-build-windows-x64:
64 extends:
65 - .libretro-windows-x64-mingw-make-default
66 - .core-defs
67
68# Linux 64-bit
69libretro-build-linux-x64:
70 extends:
71 - .libretro-linux-x64-make-default
72 - .core-defs
73
74# MacOS 64-bit
75libretro-build-osx-x64:
76 extends:
77 - .libretro-osx-x64-make-default
78 - .core-defs
79
80################################### CELLULAR #################################
81# Android ARMv7a
82android-armeabi-v7a:
83 extends:
84 - .core-defs
85 - .libretro-android-jni-armeabi-v7a
86
87# Android ARMv8a
88android-arm64-v8a:
89 extends:
90 - .libretro-android-jni-arm64-v8a
91 - .core-defs
92
93# Android 64-bit x86
94android-x86_64:
95 extends:
96 - .libretro-android-jni-x86_64
97 - .core-defs
98
99# Android 32-bit x86
100android-x86:
101 extends:
102 - .libretro-android-jni-x86
103 - .core-defs
104
105################################### CONSOLES #################################
106# PlayStation Vita
107libretro-build-vita:
108 extends:
109 - .libretro-vita-static-retroarch-master
110 - .core-defs
111
112# Nintendo 3DS
113libretro-build-ctr:
114 extends:
115 - .libretro-ctr-static-retroarch-master
116 - .core-defs
117
118# Nintendo Switch
119libretro-build-libnx-aarch64:
120 extends:
121 - .libretro-libnx-static-retroarch-master
122 - .core-defs