2017-01-13 01:18:25 +00:00
|
|
|
# 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
|
|
|
|
|
2018-05-18 05:26:41 +00:00
|
|
|
higan-linux-x86_64-binaries:
|
2017-01-13 01:18:25 +00:00
|
|
|
script:
|
2017-10-27 05:58:41 +00:00
|
|
|
- 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
|
2018-02-01 08:29:18 +00:00
|
|
|
- make -C genius
|
2018-05-18 05:26:41 +00:00
|
|
|
- make -C higan target=higan
|
2017-10-27 06:16:29 +00:00
|
|
|
- LC_ALL=C.UTF-8 mkdocs build
|
2017-01-13 01:18:25 +00:00
|
|
|
- mkdir higan-nightly
|
2018-02-01 08:29:18 +00:00
|
|
|
- cp -a genius/out/genius higan-nightly/genius
|
2017-01-13 01:18:25 +00:00
|
|
|
- cp -a higan/out/higan higan-nightly/higan
|
2018-05-09 04:04:45 +00:00
|
|
|
- cp -a higan/systems/ higan-nightly/
|
|
|
|
- cp -a shaders higan-nightly/
|
2017-10-27 05:58:41 +00:00
|
|
|
- cp -a docs_build higan-nightly/docs
|
|
|
|
- cp -a GPLv3.txt higan-nightly/
|
2017-01-13 01:18:25 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- higan-nightly/*
|
|
|
|
|
2018-05-19 02:52:59 +00:00
|
|
|
#bsnes-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
|
|
|
|
# - make -C higan target=bsnes
|
|
|
|
# - mkdir bsnes-nightly
|
|
|
|
# - cp -a higan/out/bsnes bsnes-nightly/bsnes
|
|
|
|
# - cp -a higan/systems/ bsnes-nightly/
|
|
|
|
# - cp -a shaders bsnes-nightly/
|
|
|
|
# - cp -a GPLv3.txt bsnes-nightly/
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - bsnes-nightly/*
|
2018-05-18 05:26:41 +00:00
|
|
|
|
|
|
|
higan-windows-x86_64-binaries:
|
2017-01-13 01:18:25 +00:00
|
|
|
# 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:
|
2017-10-27 05:58:41 +00:00
|
|
|
- apt-get update && apt-get -y install build-essential mingw-w64 mkdocs
|
2017-01-13 01:18:25 +00:00
|
|
|
- sed -i -e 's/-lole32/& -static -lpthread/' nall/GNUmakefile
|
2018-02-16 01:53:19 +00:00
|
|
|
# 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"
|
2017-01-13 01:18:25 +00:00
|
|
|
- make -C icarus platform=windows compiler="x86_64-w64-mingw32-g++ -static-libgcc -static-libstdc++" windres="x86_64-w64-mingw32-windres"
|
2018-05-18 05:26:41 +00:00
|
|
|
- make -C higan target=higan platform=windows compiler="x86_64-w64-mingw32-g++ -static-libgcc -static-libstdc++" windres="x86_64-w64-mingw32-windres"
|
2017-10-27 06:16:29 +00:00
|
|
|
- LC_ALL=C.UTF-8 mkdocs build
|
2017-01-13 01:18:25 +00:00
|
|
|
- mkdir higan-nightly
|
2018-02-16 01:53:19 +00:00
|
|
|
#- cp -a genius/out/genius higan-nightly/genius.exe
|
2017-01-13 01:18:25 +00:00
|
|
|
- cp -a icarus/out/icarus higan-nightly/icarus.exe
|
2018-05-09 04:04:45 +00:00
|
|
|
- cp -a icarus/database higan-nightly/
|
|
|
|
- cp -a icarus/firmware higan-nightly/
|
2017-01-13 01:18:25 +00:00
|
|
|
- cp -a higan/out/higan higan-nightly/higan.exe
|
2018-05-09 04:04:45 +00:00
|
|
|
- cp -a higan/systems/ higan-nightly/
|
|
|
|
- cp -a shaders higan-nightly/
|
2017-10-27 05:58:41 +00:00
|
|
|
- cp -a docs_build higan-nightly/docs
|
|
|
|
- cp -a GPLv3.txt higan-nightly/
|
2017-01-13 01:18:25 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- higan-nightly/*
|
2017-10-08 03:25:42 +00:00
|
|
|
|
2018-05-19 02:52:59 +00:00
|
|
|
#bsnes-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
|
|
|
|
# - 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 higan target=bsnes platform=windows compiler="x86_64-w64-mingw32-g++ -static-libgcc -static-libstdc++" windres="x86_64-w64-mingw32-windres"
|
|
|
|
# - mkdir bsnes-nightly
|
|
|
|
# - cp -a higan/out/bsnes bsnes-nightly/bsnes.exe
|
|
|
|
# - cp -a higan/systems/ bsnes-nightly/
|
|
|
|
# - cp -a shaders bsnes-nightly/
|
|
|
|
# - cp -a GPLv3.txt bsnes-nightly/
|
|
|
|
# artifacts:
|
|
|
|
# paths:
|
|
|
|
# - bsnes-nightly/*
|
2018-05-18 05:26:41 +00:00
|
|
|
|
2017-10-08 03:25:42 +00:00
|
|
|
libretro-test:
|
|
|
|
script:
|
2017-10-08 03:33:16 +00:00
|
|
|
- apt-get update && apt-get -y install build-essential git
|
2017-10-08 07:17:48 +00:00
|
|
|
# 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
|
2018-02-01 08:26:42 +00:00
|
|
|
- make -C higan binary=library target=libretro
|
2017-10-08 03:25:42 +00:00
|
|
|
- mkdir libretro-nightly
|
2017-10-08 07:51:47 +00:00
|
|
|
- cp -a higan/out/higan_sfc_libretro.so libretro-nightly/
|
2017-10-27 06:04:46 +00:00
|
|
|
- cp -a GPLv3.txt libretro-nightly/
|
2017-10-08 03:25:42 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- libretro-nightly/*
|