2019-05-16 07:17:34 -04:00
matrix :
include :
- os : linux
dist : xenial
- os : linux
dist : xenial
env : CMAKE_CUSTOM_OPTIONS="-DBUILD_GUI=OFF"
2019-05-25 05:05:41 -04:00
- os : linux
dist : xenial
env : CMAKE_CUSTOM_OPTIONS="-DENABLE_EXTERNAL_LIBRARIES=ON"
2019-05-16 07:17:34 -04:00
- os : osx
osx_image : xcode10.2
- os : osx
osx_image : xcode9.4
- os : osx
osx_image : xcode8.3
- os : osx
osx_image : xcode7.3
git :
submodules : false
cache :
directories :
- $HOME/.macports-ci-ccache
language : cpp
addons :
apt :
update : true
2019-05-22 11:16:06 -04:00
# TODO need packages per distro
2019-05-16 07:17:34 -04:00
packages :
2019-05-22 11:16:06 -04:00
# needed by debuild
- build-essential
- cmake
- git
- devscripts
- fakeroot
- debhelper
2019-05-16 07:17:34 -04:00
- libfftw3-dev
- qtbase5-dev
- libqt5opengl5-dev
- qttools5-dev
- qttools5-dev-tools
- qtmultimedia5-dev
- libqt5multimedia5-plugins
2019-06-09 13:51:59 -04:00
- libqt5websockets5-dev
2019-05-16 07:17:34 -04:00
- libusb-1.0-0-dev
- libboost-all-dev
- librtlsdr-dev
- libasound2-dev
- libopencv-dev
2019-05-31 19:13:36 -04:00
- libopencv-imgcodecs-dev
2019-05-16 07:17:34 -04:00
- libxml2-dev
- bison
- flex
- ffmpeg
- libavcodec-dev
- libavformat-dev
- libopus-dev
- libcodec2-dev
- libairspy-dev
- libhackrf-dev
- librtlsdr-dev
install :
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -LO https://raw.githubusercontent.com/GiovanniBussi/macports-ci/master/macports-ci; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source ./macports-ci install; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source macports-ci ccache; fi
# libiio disabled otherwise OpenBLAS compilation timeout
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo port -N -k install libiconv fftw-3-single libusb boost opencv ffmpeg libopus SoapySDR airspy airspyhf bladerf hackrf limesuite rtl-sdr SoapySDRPlay SoapyRemote SoapyAudio; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo port -N -k install perseus-sdr codec2 cm256cc; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo port -N -k install dsdcc +mbelib; fi
# macOS 10.11 doesn't support newest Qt
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OSX_IMAGE" == "xcode7.3" ]]; then sudo port -N -k install qt59-qtmultimedia qt59-qttools; else sudo port -N -k install qt5-qtmultimedia qt5-qttools; fi; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source macports-ci ccache --save; fi
2019-05-25 05:05:41 -04:00
# use codec2 from repository
#- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_codec2.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_cm256cc.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_mbelib.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_serialdv.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_dsdcc.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_perseus-sdr.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_xtrx-sdr.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ ! "${CMAKE_CUSTOM_OPTIONS}" =~ "ENABLE_EXTERNAL_LIBRARIES=ON" ]]; then bash cmake/ci/build_airspyhf.sh; fi
2019-05-16 07:17:34 -04:00
script :
- bash -c export
- bash -c pwd
2019-05-25 05:05:41 -04:00
- bash cmake/ci/build_sdrangel.sh
2019-05-16 07:17:34 -04:00
env :
2020-11-08 21:33:18 -05:00
- CMAKE_CUSTOM_OPTIONS="-DARCH_OPT=nehalem -DBUNDLE=ON -DENABLE_PACK_MIRSDRAPI=ON"