forked from libretro/melonDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
57 lines (51 loc) · 1.57 KB
/
.gitlab-ci.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
variables:
STATIC_RETROARCH_BRANCH: master
include:
template: Jobs/Code-Quality.gitlab-ci.yml
code_quality:
artifacts:
paths: [gl-code-quality-report.json]
stages:
- build-prepare
- build-shared
- build-static
- test
libretro-build-linux-x64:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
stage: build-shared
script:
- make -j10
artifacts:
paths:
- melonds_libretro.so
expire_in: 1 month
dependencies: []
libretro-build-windows-x64:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-amd64-ubuntu:latest
stage: build-shared
script:
- make -j10 platform=win64 MSYSTEM=MINGW64
artifacts:
paths:
- melonds_libretro.dll
expire_in: 1 month
dependencies: []
libretro-build-libnx-aarch64:
image: $CI_SERVER_HOST:5050/libretro-infrastructure/libretro-build-libnx-devkitpro:latest
stage: build-static
script:
- make -j10 platform=libnx
- wget -O retroarch-precompiled.zip "https://$CI_SERVER_HOST/libretro/RetroArch/-/jobs/artifacts/$STATIC_RETROARCH_BRANCH/download?job=build-static-retroarch-libnx-aarch64"
- unzip retroarch-precompiled.zip
- rm -f retroarch-precompiled.zip
- mv melonds_libretro_libnx.a retroarch-precompiled/libretro_libnx.a
- cd retroarch-precompiled/
- make -f Makefile.libnx -j10
- mv retroarch_switch.nro ../melonds_libretro_libnx.nro
- mv retroarch_switch.elf ../melonds_libretro_libnx.elf
- cd ../
artifacts:
paths:
- melonds_libretro_libnx.nro
- melonds_libretro_libnx.elf
expire_in: 1 month