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   # MacOS 64-bit
30   - project: 'libretro-infrastructure/ci-templates'
31     file: '/osx-x64.yml'
32
33   ################################## CELLULAR ################################
34   # Android
35   - project: 'libretro-infrastructure/ci-templates'
36     file: '/android-jni.yml'
37     
38   ################################## CONSOLES ################################
39   # PlayStation Portable
40   - project: 'libretro-infrastructure/ci-templates'
41     file: '/psp-static.yml'
42   
43   # PlayStation Vita
44   - project: 'libretro-infrastructure/ci-templates'
45     file: '/vita-static.yml'
46     
47   # Nintendo 3DS
48   - project: 'libretro-infrastructure/ci-templates'
49     file: '/ctr-static.yml'
50     
51   # Nintendo Switch
52   - project: 'libretro-infrastructure/ci-templates'
53     file: '/libnx-static.yml'
54
55 # Stages for building
56 stages:
57   - build-prepare
58   - build-shared
59   - build-static
60
61 ##############################################################################
62 #################################### STAGES ##################################
63 ##############################################################################
64 #
65 ################################### DESKTOPS #################################
66 # Windows 64-bit
67 libretro-build-windows-x64:
68   extends:
69     - .libretro-windows-x64-mingw-make-default
70     - .core-defs
71
72 # Windows 32-bit
73 libretro-build-windows-i686:
74   extends:
75     - .libretro-windows-i686-mingw-make-default
76     - .core-defs
77
78 # Linux 64-bit
79 libretro-build-linux-x64:
80   extends:
81     - .libretro-linux-x64-make-default
82     - .core-defs
83
84 # MacOS 64-bit
85 libretro-build-osx-x64:
86   extends:
87     - .libretro-osx-x64-make-default
88     - .core-defs
89
90 ################################### CELLULAR #################################
91 # Android ARMv7a
92 android-armeabi-v7a:
93   extends:
94     - .core-defs
95     - .libretro-android-jni-armeabi-v7a
96
97 # Android ARMv8a
98 android-arm64-v8a:
99   extends:
100     - .libretro-android-jni-arm64-v8a
101     - .core-defs
102
103 # Android 64-bit x86
104 android-x86_64:
105   extends:
106     - .libretro-android-jni-x86_64
107     - .core-defs
108
109 # Android 32-bit x86
110 android-x86:
111   extends:
112     - .libretro-android-jni-x86
113     - .core-defs
114     
115 ################################### CONSOLES #################################
116 # PlayStation Vita
117 libretro-build-vita:
118   extends:
119     - .libretro-vita-static-retroarch-master
120     - .core-defs
121     
122 # Nintendo 3DS
123 libretro-build-ctr:
124   extends:
125     - .libretro-ctr-static-retroarch-master
126     - .core-defs
127     
128 # Nintendo Switch
129 libretro-build-libnx-aarch64:
130   extends:
131     - .libretro-libnx-static-retroarch-master
132     - .core-defs