mirror of https://github.com/drowe67/LPCNet.git
debugging travis
parent
7cc35231ab
commit
4c20759367
|
@ -21,10 +21,10 @@ script:
|
||||||
# First build and install vanilla codec2 as we need -lcodec2 to build LPCNet
|
# First build and install vanilla codec2 as we need -lcodec2 to build LPCNet
|
||||||
- git clone https://github.com/drowe67/codec2.git
|
- git clone https://github.com/drowe67/codec2.git
|
||||||
- cd codec2
|
- cd codec2
|
||||||
- mkdir build_linux && cd build_linux && cmake .. && make VERBOSE=1 codec2
|
- mkdir build_linux && cd build_linux && cmake .. && make
|
||||||
# OK, build and test LPCNet
|
# OK, build and test LPCNet
|
||||||
- cd $LPCNETDIR && mkdir -p $BUILDDIR && cd $BUILDDIR
|
- cd $LPCNETDIR && mkdir -p $BUILDDIR && cd $BUILDDIR
|
||||||
- cmake -DCODEC2_BUILD_DIR=$CODEC2DIR/build_linux .. && make VERBOSE=1
|
- cmake -DCODEC2_BUILD_DIR=$CODEC2DIR/build_linux .. && make
|
||||||
# simple sanity check
|
# simple sanity check
|
||||||
- cd src && sox ../../wav/wia.wav -t raw -r 16000 - | ./lpcnet_enc -s | ./lpcnet_dec -s > /dev/null
|
- cd src && sox ../../wav/wia.wav -t raw -r 16000 - | ./lpcnet_enc -s | ./lpcnet_dec -s > /dev/null
|
||||||
# some LPCNet ctests
|
# some LPCNet ctests
|
||||||
|
@ -33,7 +33,8 @@ script:
|
||||||
- cd $CODEC2DIR/build_linux
|
- cd $CODEC2DIR/build_linux
|
||||||
- make clean
|
- make clean
|
||||||
- cmake -DLPCNET_BUILD_DIR=$BUILDDIR ..
|
- cmake -DLPCNET_BUILD_DIR=$BUILDDIR ..
|
||||||
- make VERBOSE=1
|
- ls -l
|
||||||
|
- make
|
||||||
- cd src
|
- cd src
|
||||||
# sanity check
|
# sanity check
|
||||||
- ./freedv_tx 2020 $LPCNETDIR/wav/wia.wav - | ./freedv_rx 2020 - /dev/null
|
- ./freedv_tx 2020 $LPCNETDIR/wav/wia.wav - | ./freedv_rx 2020 - /dev/null
|
||||||
|
|
Loading…
Reference in New Issue