2018-06-27 02:15:22 +00:00
|
|
|
---
|
|
|
|
sudo: required
|
|
|
|
|
2019-03-09 01:13:48 +00:00
|
|
|
services:
|
|
|
|
- xvfb
|
|
|
|
|
2018-06-27 02:15:22 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- env: BUILD_ENV=ubuntu
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_script:
|
|
|
|
- ./installdeps
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2019-04-13 23:18:57 +00:00
|
|
|
- cmake .. -DENABLE_SDL=ON -DENABLE_OPENAL=ON
|
2018-06-27 02:15:22 +00:00
|
|
|
- make -j2
|
2019-04-13 23:18:57 +00:00
|
|
|
- xvfb-run ./visualboyadvance-m --help
|
2019-03-09 00:56:46 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
|
|
|
- env: BUILD_ENV=mingw-w64
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_script:
|
|
|
|
- ./installdeps MinGW-w64-x86_64
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2019-04-13 23:18:57 +00:00
|
|
|
- /usr/lib/mxe/usr/bin/x86_64-w64-mingw32.static-cmake .. -DENABLE_SDL=ON -DENABLE_OPENAL=ON
|
2019-03-09 00:56:46 +00:00
|
|
|
- make -j2
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
|
|
|
- env: BUILD_ENV=mingw-w32
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_script:
|
|
|
|
- ./installdeps MinGW-w64-i686
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2019-04-13 23:18:57 +00:00
|
|
|
- /usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake .. -DENABLE_SDL=ON -DENABLE_OPENAL=ON
|
2019-03-09 00:56:46 +00:00
|
|
|
- make -j2
|
2018-06-27 21:13:23 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
2018-06-29 03:51:13 +00:00
|
|
|
- env: BUILD_ENV=libretro
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get -qqy update
|
|
|
|
- sudo apt-get -qqy install build-essential ccache
|
|
|
|
script:
|
|
|
|
- cd src/libretro
|
|
|
|
- make -j2 CXX="ccache g++" CC="ccache gcc"
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
2018-06-27 02:15:22 +00:00
|
|
|
- env: BUILD_ENV=mac
|
|
|
|
language: cpp
|
|
|
|
os: osx
|
2019-05-29 23:26:46 +00:00
|
|
|
osx_image: xcode10.2
|
2018-06-27 02:15:22 +00:00
|
|
|
before_script:
|
|
|
|
- ./installdeps
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2019-05-29 23:26:46 +00:00
|
|
|
- cmake .. -DENABLE_SDL=ON -DENABLE_OPENAL=ON -DENABLE_LINK=ON
|
2018-06-27 02:15:22 +00:00
|
|
|
- make -j2
|
2019-07-04 04:08:42 +00:00
|
|
|
# - ./visualboyadvance-m.app/Contents/MacOS/visualboyadvance-m --help
|
2018-06-27 21:13:23 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
2019-05-22 21:06:42 +00:00
|
|
|
- /usr/local
|
2018-12-05 22:38:54 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/b273e1f74f164855d115
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: never # options: [always|never|change] default: always
|