.gitlab-ci.yml (6592B)
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: platforms/libretro 11 CORENAME: gearboy 12 MAKEFILE_PATH: platforms/libretro 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 # 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 # MacOS ARM 64-bit 38 - project: 'libretro-infrastructure/ci-templates' 39 file: '/osx-arm64.yml' 40 41 ################################## CELLULAR ################################ 42 # Android 43 - project: 'libretro-infrastructure/ci-templates' 44 file: '/android-jni.yml' 45 46 # iOS 47 - project: 'libretro-infrastructure/ci-templates' 48 file: '/ios-arm64.yml' 49 50 # iOS (armv7) 51 - project: 'libretro-infrastructure/ci-templates' 52 file: '/ios9.yml' 53 54 ################################## CONSOLES ################################ 55 # PlayStation 2 56 - project: 'libretro-infrastructure/ci-templates' 57 file: '/ps2-static.yml' 58 59 # PlayStation Portable 60 - project: 'libretro-infrastructure/ci-templates' 61 file: '/psp-static.yml' 62 63 # PlayStation Vita 64 - project: 'libretro-infrastructure/ci-templates' 65 file: '/vita-static.yml' 66 67 # Nintendo 3DS 68 - project: 'libretro-infrastructure/ci-templates' 69 file: '/ctr-static.yml' 70 71 # Nintendo GameCube 72 - project: 'libretro-infrastructure/ci-templates' 73 file: '/ngc-static.yml' 74 75 # Nintendo Wii 76 - project: 'libretro-infrastructure/ci-templates' 77 file: '/wii-static.yml' 78 79 # Nintendo WiiU 80 - project: 'libretro-infrastructure/ci-templates' 81 file: '/wiiu-static.yml' 82 83 # Nintendo Switch 84 - project: 'libretro-infrastructure/ci-templates' 85 file: '/libnx-static.yml' 86 87 # OpenDingux 88 - project: 'libretro-infrastructure/ci-templates' 89 file: '/dingux-mips32.yml' 90 91 # OpenDingux (ARM) 92 - project: 'libretro-infrastructure/ci-templates' 93 file: '/dingux-arm32.yml' 94 95 # tvOS (AppleTV) 96 - project: 'libretro-infrastructure/ci-templates' 97 file: '/tvos-arm64.yml' 98 99 #################################### MISC ################################## 100 # Emscripten 101 - project: 'libretro-infrastructure/ci-templates' 102 file: '/emscripten-static.yml' 103 104# Stages for building 105stages: 106 - build-prepare 107 - build-shared 108 - build-static 109 110############################################################################## 111#################################### STAGES ################################## 112############################################################################## 113# 114################################### DESKTOPS ################################# 115# Windows 64-bit 116libretro-build-windows-x64: 117 extends: 118 - .libretro-windows-x64-mingw-make-default 119 - .core-defs 120 121# Windows 32-bit 122libretro-build-windows-i686: 123 extends: 124 - .libretro-windows-i686-mingw-make-default 125 - .core-defs 126 127# Linux 64-bit 128libretro-build-linux-x64: 129 extends: 130 - .libretro-linux-x64-make-default 131 - .core-defs 132 133# Linux 32-bit 134libretro-build-linux-i686: 135 extends: 136 - .libretro-linux-i686-make-default 137 - .core-defs 138 139# MacOS 64-bit 140libretro-build-osx-x64: 141 extends: 142 - .libretro-osx-x64-make-default 143 - .core-defs 144 145# MacOS ARM 64-bit 146libretro-build-osx-arm64: 147 extends: 148 - .libretro-osx-arm64-make-default 149 - .core-defs 150 151################################### CELLULAR ################################# 152# Android ARMv7a 153android-armeabi-v7a: 154 extends: 155 - .libretro-android-jni-armeabi-v7a 156 - .core-defs 157 158# Android ARMv8a 159android-arm64-v8a: 160 extends: 161 - .libretro-android-jni-arm64-v8a 162 - .core-defs 163 164# Android 64-bit x86 165android-x86_64: 166 extends: 167 - .libretro-android-jni-x86_64 168 - .core-defs 169 170# Android 32-bit x86 171android-x86: 172 extends: 173 - .libretro-android-jni-x86 174 - .core-defs 175 176# iOS 177libretro-build-ios-arm64: 178 extends: 179 - .libretro-ios-arm64-make-default 180 - .core-defs 181 182# iOS (armv7) [iOS 9 and up] 183libretro-build-ios9: 184 extends: 185 - .libretro-ios9-make-default 186 - .core-defs 187 188# tvOS 189libretro-build-tvos-arm64: 190 extends: 191 - .libretro-tvos-arm64-make-default 192 - .core-defs 193 194################################### CONSOLES ################################# 195# PlayStation 2 196libretro-build-ps2: 197 extends: 198 - .libretro-ps2-static-retroarch-master 199 - .core-defs 200 201# PlayStation Portable 202libretro-build-psp: 203 extends: 204 - .libretro-psp-static-retroarch-master 205 - .core-defs 206 207# PlayStation Vita 208libretro-build-vita: 209 extends: 210 - .libretro-vita-static-retroarch-master 211 - .core-defs 212 213# Nintendo 3DS 214libretro-build-ctr: 215 extends: 216 - .libretro-ctr-static-retroarch-master 217 - .core-defs 218 219# Nintendo GameCube 220libretro-build-ngc: 221 extends: 222 - .libretro-ngc-static-retroarch-master 223 - .core-defs 224 225# Nintendo Wii 226libretro-build-wii: 227 extends: 228 - .libretro-wii-static-retroarch-master 229 - .core-defs 230 231# Nintendo WiiU 232libretro-build-wiiu: 233 extends: 234 - .libretro-wiiu-static-retroarch-master 235 - .core-defs 236 237# Nintendo Switch 238libretro-build-libnx-aarch64: 239 extends: 240 - .libretro-libnx-static-retroarch-master 241 - .core-defs 242 243# OpenDingux 244libretro-build-dingux-mips32: 245 extends: 246 - .libretro-dingux-mips32-make-default 247 - .core-defs 248 249# OpenDingux Beta 250libretro-build-dingux-odbeta-mips32: 251 extends: 252 - .libretro-dingux-odbeta-mips32-make-default 253 - .core-defs 254 255# RS-90 OpenDingux Beta 256libretro-build-rs90-odbeta-mips32: 257 extends: 258 - .libretro-rs90-odbeta-mips32-make-default 259 - .core-defs 260 261# RetroFW 262libretro-build-retrofw-mips32: 263 extends: 264 - .libretro-retrofw-mips32-make-default 265 - .core-defs 266 267# Miyoo 268libretro-build-miyoo-arm32: 269 extends: 270 - .libretro-miyoo-arm32-make-default 271 - .core-defs 272 273#################################### MISC ################################## 274# Emscripten 275libretro-build-emscripten: 276 extends: 277 - .libretro-emscripten-static-retroarch-master 278 - .core-defs