Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DetectorSoftware
libagipdrecv
Commits
16c0c38a
Commit
16c0c38a
authored
Feb 07, 2020
by
Yuelong Yu
Browse files
fix ci script
parent
cd3ca325
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci/bamboo
View file @
16c0c38a
#!/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==="
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment