Update .gitlab-ci.yml
[pcsx_rearmed.git] / .gitlab-ci.yml
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: .
11     MAKEFILE: Makefile.libretro
12     CORENAME: pcsx_rearmed
13
14 # Inclusion templates, required for the build to work
15 include:
16   ################################## DESKTOPS ################################
17   # Windows 64-bit
18   - project: 'libretro-infrastructure/ci-templates'
19     file: '/windows-x64-mingw.yml'
20
21   # Windows 32-bit
22   - project: 'libretro-infrastructure/ci-templates'
23     file: '/windows-i686-mingw.yml'
24
25   # Linux 64-bit
26   - project: 'libretro-infrastructure/ci-templates'
27     file: '/linux-x64.yml'
28
29   # Linux 32-bit
30   - project: 'libretro-infrastructure/ci-templates'
31     file: '/linux-i686.yml'
32
33   # MacOS 64-bit
34   - project: 'libretro-infrastructure/ci-templates'
35     file: '/osx-x64.yml'
36
37   ################################## CELLULAR ################################
38   # Android
39   - project: 'libretro-infrastructure/ci-templates'
40     file: '/android-jni.yml'
41     
42   ################################## CONSOLES ################################
43   # PlayStation Portable
44   - project: 'libretro-infrastructure/ci-templates'
45     file: '/psp-static.yml'
46   
47   # PlayStation Vita
48   - project: 'libretro-infrastructure/ci-templates'
49     file: '/vita-static.yml'
50     
51   # Nintendo 3DS
52   - project: 'libretro-infrastructure/ci-templates'
53     file: '/ctr-static.yml'
54     
55   # Nintendo Switch
56   - project: 'libretro-infrastructure/ci-templates'
57     file: '/libnx-static.yml'
58
59 # Stages for building
60 stages:
61   - build-prepare
62   - build-shared
63   - build-static
64
65 ##############################################################################
66 #################################### STAGES ##################################
67 ##############################################################################
68 #
69 ################################### DESKTOPS #################################
70 # Windows 64-bit
71 libretro-build-windows-x64:
72   extends:
73     - .libretro-windows-x64-mingw-make-default
74     - .core-defs
75
76 # Windows 32-bit
77 libretro-build-windows-i686:
78   extends:
79     - .libretro-windows-i686-mingw-make-default
80     - .core-defs
81
82 # Linux 64-bit
83 libretro-build-linux-x64:
84   extends:
85     - .libretro-linux-x64-make-default
86     - .core-defs
87     
88 # Linux 32-bit
89 libretro-build-linux-i686:
90   extends:
91     - .libretro-linux-i686-make-default
92     - .core-defs
93
94 # MacOS 64-bit
95 libretro-build-osx-x64:
96   extends:
97     - .libretro-osx-x64-make-default
98     - .core-defs
99
100 ################################### CELLULAR #################################
101 # Android ARMv7a
102 android-armeabi-v7a:
103   extends:
104     - .core-defs
105     - .libretro-android-jni-armeabi-v7a
106
107 # Android ARMv8a
108 android-arm64-v8a:
109   extends:
110     - .libretro-android-jni-arm64-v8a
111     - .core-defs
112
113 # Android 64-bit x86
114 android-x86_64:
115   extends:
116     - .libretro-android-jni-x86_64
117     - .core-defs
118
119 # Android 32-bit x86
120 android-x86:
121   extends:
122     - .libretro-android-jni-x86
123     - .core-defs
124     
125 ################################### CONSOLES #################################
126 # PlayStation Vita
127 libretro-build-vita:
128   extends:
129     - .libretro-vita-static-retroarch-master
130     - .core-defs
131     
132 # Nintendo 3DS
133 libretro-build-ctr:
134   extends:
135     - .libretro-ctr-static-retroarch-master
136     - .core-defs
137     
138 # Nintendo Switch
139 libretro-build-libnx-aarch64:
140   extends:
141     - .libretro-libnx-static-retroarch-master
142     - .core-defs