Commit | Line | Data |
---|---|---|
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 | |
15 | include: | |
16 | ################################## DESKTOPS ################################ | |
17 | # Windows 64-bit | |
18 | - project: 'libretro-infrastructure/ci-templates' | |
19 | file: '/windows-x64-mingw.yml' | |
3aa64bba A |
20 | |
21 | # Windows 32-bit | |
22 | - project: 'libretro-infrastructure/ci-templates' | |
23 | file: '/windows-i686-mingw.yml' | |
24 | ||
3d985519 A |
25 | # Linux 64-bit |
26 | - project: 'libretro-infrastructure/ci-templates' | |
27 | file: '/linux-x64.yml' | |
54686ee7 A |
28 | |
29 | # Linux 32-bit | |
30 | - project: 'libretro-infrastructure/ci-templates' | |
31 | file: '/linux-i686.yml' | |
32 | ||
91c38241 | 33 | # MacOS PowerPC 32-bit |
82d29ef8 | 34 | # FIXME: libchdr vs Byte redefinition |
35 | #- project: 'libretro-infrastructure/ci-templates' | |
36 | # file: '/osx-ppc.yml' | |
91c38241 | 37 | |
3d985519 A |
38 | # MacOS 64-bit |
39 | - project: 'libretro-infrastructure/ci-templates' | |
40 | file: '/osx-x64.yml' | |
41 | ||
0e1ccb3f | 42 | # MacOS ARM 64-bit |
43 | - project: 'libretro-infrastructure/ci-templates' | |
44 | file: '/osx-arm64.yml' | |
45 | ||
3d985519 A |
46 | ################################## CELLULAR ################################ |
47 | # Android | |
48 | - project: 'libretro-infrastructure/ci-templates' | |
49 | file: '/android-jni.yml' | |
0e1ccb3f | 50 | |
51 | # iOS | |
52 | - project: 'libretro-infrastructure/ci-templates' | |
53 | file: '/ios-arm64.yml' | |
54 | ||
55 | # iOS (armv7) | |
56 | - project: 'libretro-infrastructure/ci-templates' | |
57 | file: '/ios9.yml' | |
3d985519 A |
58 | |
59 | ################################## CONSOLES ################################ | |
91c38241 | 60 | # PlayStation3 |
61 | - project: 'libretro-infrastructure/ci-templates' | |
62 | file: '/psl1ght-static.yml' | |
63 | ||
3d985519 A |
64 | # PlayStation Portable |
65 | - project: 'libretro-infrastructure/ci-templates' | |
66 | file: '/psp-static.yml' | |
67 | ||
68 | # PlayStation Vita | |
69 | - project: 'libretro-infrastructure/ci-templates' | |
70 | file: '/vita-static.yml' | |
71 | ||
72 | # Nintendo 3DS | |
73 | - project: 'libretro-infrastructure/ci-templates' | |
74 | file: '/ctr-static.yml' | |
75 | ||
91c38241 | 76 | # Nintendo GameCube |
77 | - project: 'libretro-infrastructure/ci-templates' | |
78 | file: '/ngc-static.yml' | |
79 | ||
80 | # Nintendo Wii | |
81 | - project: 'libretro-infrastructure/ci-templates' | |
82 | file: '/wii-static.yml' | |
83 | ||
84 | # Nintendo WiiU | |
85 | - project: 'libretro-infrastructure/ci-templates' | |
86 | file: '/wiiu-static.yml' | |
87 | ||
3d985519 A |
88 | # Nintendo Switch |
89 | - project: 'libretro-infrastructure/ci-templates' | |
90 | file: '/libnx-static.yml' | |
91 | ||
0e1ccb3f | 92 | # tvOS (AppleTV) |
93 | - project: 'libretro-infrastructure/ci-templates' | |
94 | file: '/tvos-arm64.yml' | |
ad32ae17 | 95 | |
96 | # OpenDingux (ARM) | |
97 | - project: 'libretro-infrastructure/ci-templates' | |
98 | file: '/dingux-arm32.yml' | |
0e1ccb3f | 99 | |
100 | #################################### MISC ################################## | |
cc39ee63 | 101 | # Emscripten |
102 | - project: 'libretro-infrastructure/ci-templates' | |
103 | file: '/emscripten-static.yml' | |
0e1ccb3f | 104 | |
3d985519 A |
105 | # Stages for building |
106 | stages: | |
107 | - build-prepare | |
108 | - build-shared | |
109 | - build-static | |
110 | ||
111 | ############################################################################## | |
112 | #################################### STAGES ################################## | |
113 | ############################################################################## | |
114 | # | |
115 | ################################### DESKTOPS ################################# | |
116 | # Windows 64-bit | |
117 | libretro-build-windows-x64: | |
118 | extends: | |
119 | - .libretro-windows-x64-mingw-make-default | |
120 | - .core-defs | |
3aa64bba A |
121 | |
122 | # Windows 32-bit | |
123 | libretro-build-windows-i686: | |
124 | extends: | |
125 | - .libretro-windows-i686-mingw-make-default | |
126 | - .core-defs | |
127 | ||
3d985519 A |
128 | # Linux 64-bit |
129 | libretro-build-linux-x64: | |
130 | extends: | |
131 | - .libretro-linux-x64-make-default | |
132 | - .core-defs | |
54686ee7 A |
133 | |
134 | # Linux 32-bit | |
135 | libretro-build-linux-i686: | |
136 | extends: | |
137 | - .libretro-linux-i686-make-default | |
138 | - .core-defs | |
3d985519 A |
139 | |
140 | # MacOS 64-bit | |
141 | libretro-build-osx-x64: | |
142 | extends: | |
89d14183 | 143 | - .libretro-osx-x64-make-10-7 |
3d985519 A |
144 | - .core-defs |
145 | ||
0e1ccb3f | 146 | # MacOS ARM 64-bit |
147 | libretro-build-osx-arm64: | |
148 | extends: | |
149 | - .libretro-osx-arm64-make-default | |
150 | - .core-defs | |
151 | ||
91c38241 | 152 | # MacOS PowerPC 32-bit |
73d7a018 | 153 | #libretro-build-osx-ppc: |
154 | # extends: | |
155 | # - .libretro-osx-ppc-make-default | |
156 | # - .core-defs | |
91c38241 | 157 | |
3d985519 A |
158 | ################################### CELLULAR ################################# |
159 | # Android ARMv7a | |
160 | android-armeabi-v7a: | |
161 | extends: | |
162 | - .core-defs | |
163 | - .libretro-android-jni-armeabi-v7a | |
164 | ||
165 | # Android ARMv8a | |
166 | android-arm64-v8a: | |
167 | extends: | |
168 | - .libretro-android-jni-arm64-v8a | |
169 | - .core-defs | |
170 | ||
171 | # Android 64-bit x86 | |
172 | android-x86_64: | |
173 | extends: | |
174 | - .libretro-android-jni-x86_64 | |
175 | - .core-defs | |
176 | ||
177 | # Android 32-bit x86 | |
178 | android-x86: | |
179 | extends: | |
180 | - .libretro-android-jni-x86 | |
181 | - .core-defs | |
0e1ccb3f | 182 | |
183 | # iOS | |
184 | libretro-build-ios-arm64: | |
185 | extends: | |
186 | - .libretro-ios-arm64-make-default | |
187 | - .core-defs | |
188 | ||
189 | # iOS (armv7) [iOS 9 and up] | |
190 | libretro-build-ios9: | |
191 | extends: | |
192 | - .libretro-ios9-make-default | |
193 | - .core-defs | |
194 | ||
195 | # tvOS | |
196 | libretro-build-tvos-arm64: | |
197 | extends: | |
198 | - .libretro-tvos-arm64-make-default | |
199 | - .core-defs | |
3d985519 A |
200 | |
201 | ################################### CONSOLES ################################# | |
91c38241 | 202 | # PlayStation3 |
203 | libretro-build-psl1ght: | |
204 | extends: | |
205 | - .libretro-psl1ght-static-retroarch-master | |
206 | - .core-defs | |
207 | ||
3d985519 A |
208 | # PlayStation Vita |
209 | libretro-build-vita: | |
210 | extends: | |
211 | - .libretro-vita-static-retroarch-master | |
212 | - .core-defs | |
213 | ||
214 | # Nintendo 3DS | |
215 | libretro-build-ctr: | |
216 | extends: | |
217 | - .libretro-ctr-static-retroarch-master | |
218 | - .core-defs | |
219 | ||
91c38241 | 220 | # Nintendo GameCube |
221 | libretro-build-ngc: | |
222 | extends: | |
223 | - .libretro-ngc-static-retroarch-master | |
224 | - .core-defs | |
225 | ||
226 | # Nintendo Wii | |
227 | libretro-build-wii: | |
228 | extends: | |
229 | - .libretro-wii-static-retroarch-master | |
230 | - .core-defs | |
231 | ||
232 | # Nintendo WiiU | |
233 | libretro-build-wiiu: | |
234 | extends: | |
235 | - .libretro-wiiu-static-retroarch-master | |
236 | - .core-defs | |
237 | ||
3d985519 A |
238 | # Nintendo Switch |
239 | libretro-build-libnx-aarch64: | |
240 | extends: | |
241 | - .libretro-libnx-static-retroarch-master | |
242 | - .core-defs | |
ad32ae17 | 243 | |
244 | # Miyoo | |
245 | libretro-build-miyoo-arm32: | |
246 | extends: | |
247 | - .libretro-miyoo-arm32-make-default | |
248 | - .core-defs | |
cc39ee63 | 249 | |
250 | #################################### MISC ################################## | |
251 | # Emscripten | |
252 | libretro-build-emscripten: | |
253 | extends: | |
254 | - .libretro-emscripten-static-retroarch-master | |
255 | - .core-defs |