forked from vsergeev/luaradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (50 loc) · 1.86 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: c
sudo: required
env:
global:
- LUAJIT_TAG="v2.0.5"
- LIQUID_TAG="v1.3.2"
- VOLK_TAG="v2.1.0"
install:
- sudo apt-get install lua5.1 luarocks
- sudo luarocks install busted
- git clone https://github.com/LuaJIT/LuaJIT.git
- cd LuaJIT
- git checkout $LUAJIT_TAG
- make
- sudo make install
- cd ../
- sudo apt-get install fftw3 fftw3-dev
- git clone git://github.com/jgaeddert/liquid-dsp.git
- cd liquid-dsp
- git checkout $LIQUID_TAG
- ./bootstrap.sh
- ./configure
- make
- sudo make install
- cd ../
- sudo apt-get install libboost-all-dev python3-mako
- git clone https://github.com/gnuradio/volk.git
- cd volk/
- git checkout $VOLK_TAG
- mkdir build
- cd build
- cmake ..
- make
- sudo make install
- sudo ldconfig
- cd ../../
script:
- ./luaradio --platform
- echo "assert(require('radio').platform.features.volk)" | ./luaradio -
- echo "assert(require('radio').platform.features.liquid)" | ./luaradio -
- echo "assert(require('radio').platform.features.fftw3f)" | ./luaradio -
- LUARADIO_DISABLE_VOLK=0 LUARADIO_DISABLE_LIQUID=0 LUARADIO_DISABLE_FFTW3F=0 busted
- LUARADIO_DISABLE_VOLK=0 LUARADIO_DISABLE_LIQUID=0 LUARADIO_DISABLE_FFTW3F=1 busted
- LUARADIO_DISABLE_VOLK=0 LUARADIO_DISABLE_LIQUID=1 LUARADIO_DISABLE_FFTW3F=0 busted
- LUARADIO_DISABLE_VOLK=0 LUARADIO_DISABLE_LIQUID=1 LUARADIO_DISABLE_FFTW3F=1 busted
- LUARADIO_DISABLE_VOLK=1 LUARADIO_DISABLE_LIQUID=0 LUARADIO_DISABLE_FFTW3F=0 busted
- LUARADIO_DISABLE_VOLK=1 LUARADIO_DISABLE_LIQUID=0 LUARADIO_DISABLE_FFTW3F=1 busted
- LUARADIO_DISABLE_VOLK=1 LUARADIO_DISABLE_LIQUID=1 LUARADIO_DISABLE_FFTW3F=0 busted
- LUARADIO_DISABLE_VOLK=1 LUARADIO_DISABLE_LIQUID=1 LUARADIO_DISABLE_FFTW3F=1 busted
- cd embed; make && make runtests