2020-06-15 09:19:22 +00:00
|
|
|
env:
|
|
|
|
sudo: required
|
|
|
|
language: generic
|
|
|
|
dist: xenial
|
2020-07-09 10:12:47 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2020-06-15 09:19:22 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
2020-07-09 10:12:47 +00:00
|
|
|
packages: libc6-i386 sox python3-numpy valgrind fonts-freefont-otf libspeexdsp-dev
|
|
|
|
libsamplerate0-dev portaudio19-dev libasound2-dev libao-dev libgsm1-dev libsndfile-dev
|
|
|
|
mingw-w64
|
2020-07-09 11:43:43 +00:00
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- sox
|
|
|
|
update: true
|
2020-06-15 09:19:22 +00:00
|
|
|
install:
|
2020-07-09 10:12:47 +00:00
|
|
|
- export HABLIBDIR=${PWD}
|
|
|
|
- export MAKEFLAGS=-j2
|
2020-06-15 09:19:22 +00:00
|
|
|
script:
|
2020-07-09 10:12:47 +00:00
|
|
|
- cd ${HABLIBDIR} && mkdir -p build_linux && cd build_linux
|
|
|
|
- cmake $HABLIBDIR && make -j4
|
|
|
|
- ctest --output-on-failure
|
|
|
|
- cd ${HABLIBDIR} && mkdir -p build_windows/src && cd build_windows
|
|
|
|
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then cmake $HABLIBDIR -DCMAKE_TOOLCHAIN_FILE=$HABLIBDIR/mingw-w64-x86_64.cmake && make -j4 ; fi
|
2020-06-15 09:19:22 +00:00
|
|
|
|
2020-07-09 10:12:47 +00:00
|
|
|
before_deploy:
|
|
|
|
- cd ${HABLIBDIR}
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
2020-07-09 12:38:28 +00:00
|
|
|
secure: qkvk9+tNLYwfGaxiPtQBd8KsQeCEUu0FAmMdu3QeUBw4kSp+vferp7cE3Txl4uAR2cbNMszAggbyDNSYFGpubX8YkV/eeCFYrEDpPZQv/VjySTWPjWOYQRXdeQKD0Kjb4+foGfXmvNoAaim3pE54plOin/8e2aI2pu/xcmBpgRvuIb4cGPGOw1hAV1/UC6GKlYenVYYvxcu4leC/YCPPwKCUlrPsajuK6cvBF715aZ70Ugow97IEgo3MVqCBQf0OceeuqcSPRNKXe8yO4zUVyq4y0nZvPDIKwvmw8hCs86fcrtvrhKvDOQYP+3iQigPLoAP80Nq4qD+eJrvVdmpdTZ2MOJfORaBblk6slLeZ/46IL64kBIqZ9MJrKeabLd7WJ0A66UgK9/VswyiephGe5iAZmmOpArheRqAdz7eh0yAOb7l6G5MYhv6nqVvVVJgDdNYnChbsQFkjVgJsyFEYKYAlXbWJH1v5X5e4lHE9ReANSb1VIWOpW9YAliAMAJhKQqJ3LzK14K+xLkecpRwyFgYt652Vewmw79C+iNV8UZYj64NQmYAgw/arhgVHhzitwFm0Gc6GGFZuqtnCjPNWgqsm3i2u/x9tgej6AjjRiI/4vHGROiISJpXLh7zaWRbjKBGL286dECYsFpMi+o7goqDuNYG75UxkSGyHFZKXJ1U=
|
2020-07-09 10:12:47 +00:00
|
|
|
file:
|
|
|
|
- build_linux/src/libhorus.so # we might want to cross compile an arm version as well :)
|
|
|
|
- build_linux/src/libhorus.dylib
|
|
|
|
- build_windows/src/libhorus.dll
|
|
|
|
on:
|
|
|
|
repo: projecthorus/horusdemodlib
|
2020-07-11 11:46:18 +00:00
|
|
|
tags: true
|
2020-07-09 10:12:47 +00:00
|
|
|
skip_cleanup: 'true'
|