2015-07-27 11:03:47 +00:00
|
|
|
language:
|
|
|
|
- cpp
|
|
|
|
|
2017-01-06 18:40:14 +00:00
|
|
|
sudo: required
|
2015-07-27 11:03:47 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2017-01-06 18:40:14 +00:00
|
|
|
- g++ make
|
2019-11-19 21:34:33 +00:00
|
|
|
- ccache
|
2016-08-15 08:19:38 +00:00
|
|
|
- libsdl2-dev
|
2016-09-05 06:01:12 +00:00
|
|
|
- libsdl2-net-dev
|
|
|
|
- libcurl4-openssl-dev
|
2016-08-15 08:19:38 +00:00
|
|
|
- libjpeg-turbo8-dev
|
2015-07-27 11:03:47 +00:00
|
|
|
- libmpeg2-4-dev
|
|
|
|
- libogg-dev
|
|
|
|
- libvorbis-dev
|
|
|
|
- libflac-dev
|
|
|
|
- libmad0-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libtheora-dev
|
|
|
|
- libfaad-dev
|
|
|
|
- libfluidsynth-dev
|
|
|
|
- libfreetype6-dev
|
|
|
|
- zlib1g-dev
|
2018-10-29 15:02:17 +00:00
|
|
|
- libieee1284-3-dev
|
|
|
|
- libsndio-dev
|
|
|
|
- libunity-dev
|
2019-05-18 13:38:30 +00:00
|
|
|
homebrew:
|
|
|
|
packages:
|
2019-11-19 21:34:33 +00:00
|
|
|
- ccache
|
2019-05-18 13:38:30 +00:00
|
|
|
- sdl2
|
|
|
|
- sdl2_net
|
2019-05-22 22:20:37 +00:00
|
|
|
- curl
|
2019-05-18 13:38:30 +00:00
|
|
|
- jpeg-turbo
|
|
|
|
- libmpeg2
|
|
|
|
- a52dec
|
|
|
|
- libogg
|
|
|
|
- libvorbis
|
|
|
|
- flac
|
|
|
|
- mad
|
|
|
|
- libpng
|
|
|
|
- theora
|
|
|
|
- faad2
|
|
|
|
- fluid-synth
|
|
|
|
- freetype
|
|
|
|
- zlib
|
|
|
|
- pandoc
|
2019-06-18 23:20:35 +00:00
|
|
|
- jack
|
2019-06-18 18:48:19 +00:00
|
|
|
update: true
|
2017-01-25 09:56:06 +00:00
|
|
|
|
2015-07-27 11:03:47 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2019-06-21 15:05:39 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2019-11-19 21:34:33 +00:00
|
|
|
cache: ccache
|
2019-06-21 15:05:39 +00:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2019-11-19 21:34:33 +00:00
|
|
|
cache: ccache
|
|
|
|
before_script:
|
|
|
|
- sudo ln -s $(which ccache) /usr/lib/ccache/clang
|
|
|
|
- sudo ln -s $(which ccache) /usr/lib/ccache/clang++
|
2019-06-21 15:05:39 +00:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-12-19 12:23:23 +00:00
|
|
|
cache:
|
2019-11-14 18:28:27 +00:00
|
|
|
directories:
|
|
|
|
- $HOME/Library/Caches/Homebrew
|
2019-12-19 12:23:23 +00:00
|
|
|
ccache: true
|
2019-11-14 18:28:27 +00:00
|
|
|
before_cache:
|
|
|
|
- brew cleanup
|
2015-07-27 11:03:47 +00:00
|
|
|
|
2019-11-19 21:30:38 +00:00
|
|
|
dist: xenial
|
2016-08-15 08:19:38 +00:00
|
|
|
|
2015-07-27 11:03:47 +00:00
|
|
|
script:
|
2019-11-19 21:38:03 +00:00
|
|
|
- ccache --show-stats > /tmp/ccache_before
|
2019-11-19 21:34:33 +00:00
|
|
|
- export PATH="/usr/local/opt/ccache/libexec:/usr/lib/ccache:$PATH"
|
2019-11-22 14:55:52 +00:00
|
|
|
- ./configure --enable-all-engines --enable-opl2lpt
|
2016-07-28 14:34:49 +00:00
|
|
|
- make -j 2
|
2015-07-27 11:03:47 +00:00
|
|
|
- make test
|
|
|
|
- make devtools
|
2019-11-19 21:38:03 +00:00
|
|
|
- ccache --show-stats > /tmp/ccache_after
|
|
|
|
- diff -U999 /tmp/ccache_before /tmp/ccache_after || true
|
2017-01-23 21:16:48 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#scummvm"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|