scummvm/.travis.yml

103 lines
1.9 KiB
YAML
Raw Normal View History

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