2018-06-27 02:15:22 +00:00
|
|
|
---
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- env: BUILD_ENV=ubuntu
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_script:
|
|
|
|
- ./installdeps
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j2
|
|
|
|
# - ./visualboyadvance-m --help
|
2018-06-27 21:13:23 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
2018-06-27 02:15:22 +00:00
|
|
|
- env: BUILD_ENV=mingw-w64
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_script:
|
|
|
|
- ./installdeps MinGW-w64-x86_64
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- /usr/lib/mxe/usr/bin/x86_64-w64-mingw32.static-cmake ..
|
|
|
|
- make -j2
|
2018-06-27 21:13:23 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
2018-06-27 02:15:22 +00:00
|
|
|
- env: BUILD_ENV=mingw-w32
|
|
|
|
language: cpp
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
before_script:
|
|
|
|
- ./installdeps MinGW-w64-i686
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- /usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake ..
|
|
|
|
- make -j2
|
2018-06-27 21:13:23 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|
2018-06-27 02:15:22 +00:00
|
|
|
- env: BUILD_ENV=mac
|
|
|
|
language: cpp
|
|
|
|
os: osx
|
|
|
|
before_script:
|
|
|
|
- ./installdeps
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j2
|
|
|
|
# - ./visualboyadvance-m.app/Contents/MacOS/visualboyadvance-m --help
|
2018-06-27 21:13:23 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/.ccache"
|