-
Notifications
You must be signed in to change notification settings - Fork 9
/
azure-pipelines.yml
358 lines (315 loc) · 10.2 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
################################################################################
#
# Pipeline to process Kodi game -addons
#
################################################################################
#
# Parameters:
#
# Secret files:
# * privateKey - the SSH private key used to push to kodi-game repos
#
# Git authorship:
# * TODO: Parameterize git authorship
#
# TODO: Run as a cron job
trigger:
- todo-disabled-for-now
jobs:
- job: Build
pool:
vmImage: 'ubuntu-22.04'
strategy:
matrix:
Python310:
python.version: '3.10'
timeoutInMinutes: 0 # Use the maximum limit
steps:
# Download secure file to the agent machine
- task: DownloadSecureFile@1
name: privateKey # The name with which to reference the secure file's path on the agent
displayName: 'Download SSH private key'
inputs:
secureFile: 'id_rsa-azure' # The file name or GUID of the secure file
# Install SSH key prior to a build or deployment
- task: InstallSSHKey@0
inputs:
knownHostsEntry: "|1|5qWKb7xAKkWXfLw6ZdNAs9FzKNA=|A+W82x1iZWz+nXHgPdlIQmsEOsU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=="
sshKeySecureFile: 'id_rsa-azure'
- script: |
sudo apt update
# 3dengine
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# beetle-psx-hw
dpkg -s libgl-dev || sudo apt install libgl-dev
# boom3
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# craft
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# desmume
dpkg -s libpcap-dev || sudo apt install -y libpcap-dev
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# dolphin
dpkg -s libegl1-mesa-dev || sudo apt install libegl1-mesa-dev
dpkg -s libusb-1.0-0-dev || sudo apt install -y libusb-1.0-0-dev
dpkg -s libxi-dev || sudo apt install -y libxi-dev
dpkg -s libxrandr-dev || sudo apt install -y libxrandr-dev
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# dosbox-core
#dpkg -s libasound2-dev || sudo apt install -y libasound2-dev
#dpkg -s libtool-bin || sudo apt install -y libtool-bin
#dpkg -s ninja-build || sudo apt install -y ninja-build
# flycast
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# fsuae
dpkg -s libglib2.0-dev || sudo apt install -y libglib2.0-dev
dpkg -s libmpeg2-4-dev || sudo apt install -y libmpeg2-4-dev
# fuse
#dpkg -s libglib2.0-dev || sudo apt install -y libglib2.0-dev
# hbmame
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
dpkg -s python2 || sudo apt install -y python2
# lrps2
dpkg -s ccache || sudo apt install -y ccache
dpkg -s libaio-dev || sudo apt install -y libaio-dev
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# mame
dpkg -s libasound2-dev || sudo apt install -y libasound2-dev
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# mame2016
dpkg -s libasound2-dev || sudo apt install -y libasound2-dev
dpkg -s python2 || sudo apt install -y python2
# melonds
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# moonlight
dpkg -s libavcodec-dev || sudo apt install -y libavcodec-dev
dpkg -s libavdevice-dev || sudo apt install -y libavdevice-dev
dpkg -s libavformat-dev || sudo apt install -y libavformat-dev
dpkg -s libcurl4-openssl-dev || sudo apt install -y libcurl4-openssl-dev
dpkg -s libgl-dev || sudo apt install -y libgl-dev
dpkg -s libopus-dev || sudo apt install -y libopus-dev
# mupen64plus
#dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
#dpkg -s nasm || sudo apt install -y nasm
# mupen64plus-nx
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
dpkg -s nasm || sudo apt install -y nasm
# openlara
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# parallel_n64
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
dpkg -s nasm || sudo apt install -y nasm
# parallext
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
dpkg -s nasm || sudo apt install -y nasm
# ppsspp
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# reicast
#dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# same_cdi
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# vecx
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
# wolfenstein3d
#dpkg -s libsdl1.2-dev || sudo apt install -y libsdl1.2-dev
# yabasanshiro
dpkg -s mesa-common-dev || sudo apt install -y mesa-common-dev
displayName: 'Install system dependencies'
# TODO: git authorship
- script: |
git config --global user.name "Garrett Brown"
git config --global user.email "[email protected]"
displayName: 'Set Git authorship'
- script: |
git clone --branch retroplayer-21 --depth=1 https://github.com/garbear/xbmc.git kodi
displayName: 'Clone Kodi'
- task: UsePythonVersion@0
inputs:
versionSpec: $(python.version)
- script: |
pip3 install -r requirements.txt
displayName: 'Install Python requirements'
- template: .azure/azure-process-addon.yml
parameters:
# List add-ons in reverse order for sorted results in the kodi-game org
addons:
- yabause
- yabasanshiro
- xrick
- xmil
#- wolfenstein3d # Doesn't compile
- virtualjaguar
- vice_xvic
- vice_xscpu64
- vice_xplus4
- vice_xpet
- vice_xcbm5x0
- vice_xcbm2
- vice_x64sc
- vice_x64dtv
- vice_x64
- vice_x128
#- vice # Renamed to vice_x64
- vemulator
- vecx
- vbam
- vba-next
- uzem
#- uae4arm # Doesn't run on x86_64
- uae
- tyrquake
- thepowdertoy
- theodore
- tgbdual
- swanstation
- supafaust
- stella
- snes9x2010
- snes9x2002
- snes9x
- smsplus-gx
- scummvm
- sameboy
- same_cdi
#- rustation # Disabled for now
- retro8
- remotejoy
- reminiscence
#- reicast # Renamed to flycast
- redbook
- race
- quicknes
- quasi88
- px68k
- prosystem
- prboom
- ppsspp
- potator
- pokemini
- pocketcdg
- picodrive
- pcsx-rearmed
- pcem
- parallext
- parallel_n64
- opera
- openlara
- oberon
- o2em
- nx
- nestopia
- neocd
- mupen64plus-nx
#- mupen64plus # Renamed to mupen64plus-nx
- mu
- mrboom
- moonlight
- minivmac
- mgba
- meteor
- mesen-s
- mesen
- meowpc98
- melonds
- mame2016
- mame2015
- mame2010
- mame2003_plus
- mame2003_midway
- mame2003
- mame2000
- mame # Insanely huge and long running (hours and 50GB on a fast machine)
- lutro
- lrps2
- jumpnbump
- hbmame
- hatari
- handy
- gw
- gpsp
- gong
- gme
- genplus-wide
- genplus
- gearsystem
- gearcoleco
- gearboy
- gambatte
- galaxy
- fuse
#- fsuae # Requires configure command: "./autogen.sh && ./configure && make gen"
- frodo
- freeintv
- freechaf
- fmsx
- flycast
- fceumm
- fbneo
- fbalpha2012-neogeo
- fbalpha2012-cps3
- fbalpha2012-cps2
- fbalpha2012-cps1
- fbalpha2012
#- fbalpha # Renamed to fbneo
- ep128emu
- ecwolf
- dosbox-pure
#- dosbox-core # Add-on marked as broken
- dosbox
- dolphin
- dinothawr
- desmume2015
- desmume
- daphne
- crocods
- craft
- chailove
- cap32
- cannonball
- bsnes2014-performance
- bsnes2014-balanced
- bsnes2014-accuracy
- bsnes-mercury-performance
- bsnes-mercury-balanced
- bsnes-mercury-accuracy
- bsnes-hd
- bsnes
- boom3
- bnes
- bluemsx
- blastem
- bk
- beetle-wswan
- beetle-vb
- beetle-supergrafx
- beetle-saturn
- beetle-psx-hw
- beetle-psx
- beetle-pcfx
- beetle-pce-fast
- beetle-pce
- beetle-ngp
- beetle-lynx
- beetle-gba
#- beetle-cygne # Renamed to beetle-wswan
- beetle-bsnes
- atari800
- a5200
- 81
#- 4do # Renamed to opera
- 3dengine
- 2048
- script: |
echo
echo "wiki.txt:"
echo
cat game-addons/wiki.txt
echo
displayName: 'Print wiki.txt'
- script: |
echo
echo "summary.html:"
echo
cat game-addons/summary.html
echo
displayName: 'Print summary.html'