Commit 16c0c38a authored by Yuelong Yu's avatar Yuelong Yu
Browse files

fix ci script

parent cd3ca325
#!/bin/bash
function check_error
{
if [[ $1 -ne 0 ]]; then
echo "error occurred in $2:"$1
exit $1
fi
}
DEPENDENCIES="libfsdetcore-0.10"
PROJECT_NAME="libagipdrecv"
......@@ -22,12 +30,17 @@ cd "build$PROJECT_NAME"
echo "===start build==="
cmake -DCMAKE_INSTALL_PREFIX="/lib.local/" /build/"$PROJECT_NAME"
check_error $? "cmake"
make
check_error $? "make"
echo "===run test==="
make test
check_error $? "make test"
echo "install"
make install
check_error $? "make install"
echo "===DONE==="
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment