Merge 6dc42d4fa7
into 9a1e8769ab
This commit is contained in:
commit
07ef1e10af
|
@ -0,0 +1,15 @@
|
||||||
|
language: c
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
env:
|
||||||
|
- HOMEBREW_NO_INSTALL_CLEANUP=true
|
||||||
|
install:
|
||||||
|
- if [ $TRAVIS_OS_NAME == 'linux' ]; then ./install-dependencies-linux.sh; fi
|
||||||
|
- if [ $TRAVIS_OS_NAME == 'osx' ]; then ./install-dependencies-macos.sh; fi
|
||||||
|
script:
|
||||||
|
- autoreconf -i
|
||||||
|
- if [ $TRAVIS_OS_NAME == 'linux' ]; then ./configure; fi
|
||||||
|
- if [ $TRAVIS_OS_NAME == 'osx' ]; then ./configure --without-alsa --without-pulseaudio; fi
|
||||||
|
- make
|
||||||
|
- ./src/minimodem --benchmarks
|
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install libsndfile1-dev fftw3-dev libasound2-dev libpulse-dev
|
||||||
|
sudo apt install pkg-config automake
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
brew install libsndfile fftw
|
||||||
|
brew install automake || brew upgrade automake
|
Loading…
Reference in New Issue