lwip/travis.sh

28 lines
371 B
Bash
Raw Normal View History

2018-10-12 18:09:22 +00:00
#!/bin/bash
if [ "$COMPILER" ];
then
export CC=$COMPILER
fi
cd contrib/ports/unix/check
#build and run unit tests
make clean all
ERR=$?
if [ $ERR != 0 ]; then
echo "unittests build failed"
exit 33
fi
make check -j 4
cd ../../../../
mkdir build
cd build
cmake ..
ERR=$?
if [ $ERR != 0 ]; then
echo "cmake failed"
exit 33
fi
cmake --build .