-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-ci.yml
66 lines (62 loc) · 2.86 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
58
59
60
61
62
63
64
65
66
# NOTE: This file is not part of the official higan source, it's been added
# to help build WIP binaries with minimal fuss.
image: debian:stable
linux-x86_64-binaries:
script:
- apt-get update && apt-get -y install build-essential libgtk2.0-dev libpulse-dev mesa-common-dev libgtksourceview2.0-dev libcairo2-dev libsdl1.2-dev libxv-dev libao-dev libopenal-dev libudev-dev mkdocs
- make -C genius
- make -C icarus
- make -C higan
- LC_ALL=C.UTF-8 mkdocs build
- mkdir higan-nightly
- cp -a genius/out/genius higan-nightly/genius
- cp -a icarus/out/icarus higan-nightly/icarus
- cp -a icarus/Database higan-nightly/
- cp -a icarus/Firmware higan-nightly/
- cp -a higan/out/higan higan-nightly/higan
- cp -a higan/systems/* higan-nightly/
- cp -a shaders "higan-nightly/Video Shaders"
- cp -a docs_build higan-nightly/docs
- cp -a GPLv3.txt higan-nightly/
artifacts:
paths:
- higan-nightly/*
windows-x86_64-binaries:
# This is a normal Windows cross-compile process, except that
# nall::chrono tries to use clock_gettime on Windows even
# though it's a POSIX function, and for some weird reason mingw has
# clock_gettime() in the pthread library.
script:
- apt-get update && apt-get -y install build-essential mingw-w64 mkdocs
- sed -i -e 's/-lole32/& -static -lpthread/' nall/GNUmakefile
# genius does not currently build on Windows due to lack of a combo edit control in hiro
#- make -C genius platform=windows compiler="x86_64-w64-mingw32-g++ -static-libgcc -static-libstdc++" windres="x86_64-w64-mingw32-windres"
- make -C icarus platform=windows compiler="x86_64-w64-mingw32-g++ -static-libgcc -static-libstdc++" windres="x86_64-w64-mingw32-windres"
- make -C higan platform=windows compiler="x86_64-w64-mingw32-g++ -static-libgcc -static-libstdc++" windres="x86_64-w64-mingw32-windres"
- LC_ALL=C.UTF-8 mkdocs build
- mkdir higan-nightly
#- cp -a genius/out/genius higan-nightly/genius.exe
- cp -a icarus/out/icarus higan-nightly/icarus.exe
- cp -a icarus/Database higan-nightly/
- cp -a icarus/Firmware higan-nightly/
- cp -a higan/out/higan higan-nightly/higan.exe
- cp -a higan/systems/* higan-nightly/
- cp -a shaders "higan-nightly/Video Shaders"
- cp -a docs_build higan-nightly/docs
- cp -a GPLv3.txt higan-nightly/
artifacts:
paths:
- higan-nightly/*
libretro-test:
script:
- apt-get update && apt-get -y install build-essential git
# git refuses to even attempt a merge if you haven't told it who you are,
# even if you use --no-commit. *sigh*
- EMAIL=fake-email@example.com git merge origin/libretro
- make -C higan binary=library target=libretro
- mkdir libretro-nightly
- cp -a higan/out/higan_sfc_libretro.so libretro-nightly/
- cp -a GPLv3.txt libretro-nightly/
artifacts:
paths:
- libretro-nightly/*