Skip to content
Snippets Groups Projects
Commit eddc75e0 authored by Yuelong Yu's avatar Yuelong Yu
Browse files

ci test

parent aceafd76
No related branches found
No related tags found
No related merge requests found
#!/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="libagipdctrl"
......@@ -22,17 +30,18 @@ cd "build$PROJECT_NAME"
echo "===start build==="
cmake -DCMAKE_INSTALL_PREFIX="/lib.local/" /build/"$PROJECT_NAME"
check_error $? "cmake"
echo "cmake error:"$?
make
echo "make error"$?
check_error $? "make"
echo "===run test==="
make test
echo "test error"$?
check_error $? "make test"
echo "install"
make install
echo "install error:"$?
check_error $? "make install"
echo "===DONE==="
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment