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
|
2020-06-24 16:58:47 +00:00
|
|
|
- liba52-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
|
2020-06-24 16:58:47 +00:00
|
|
|
- libfribidi-dev
|
|
|
|
- libsdl2-net-dev
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libunity-dev
|
|
|
|
- libgtk-3-dev
|
|
|
|
- libspeechd-dev
|
2018-10-29 15:02:17 +00:00
|
|
|
- libieee1284-3-dev
|
|
|
|
- libsndio-dev
|
2020-06-24 16:58:47 +00:00
|
|
|
- libreadline-dev
|
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
|
2020-06-24 18:32:27 +00:00
|
|
|
env: CONFIGFLAGS="--enable-opl2lpt --enable-text-console"
|
2019-11-19 21:34:33 +00:00
|
|
|
cache: ccache
|
2019-06-21 15:05:39 +00:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2020-06-24 18:32:27 +00:00
|
|
|
env: CONFIGFLAGS="--enable-opl2lpt --enable-text-console"
|
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++
|
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"
|
2020-05-08 21:29:36 +00:00
|
|
|
- export CCACHE_COMPRESS=1
|
2020-06-24 18:32:27 +00:00
|
|
|
- ./configure --enable-all-engines $CONFIGFLAGS
|
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
|