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
cd3ca325
Commit
cd3ca325
authored
Aug 26, 2019
by
Yuelong Yu
Browse files
added ci script
parent
2bec4640
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci/bamboo
0 → 100644
View file @
cd3ca325
#!/bin/bash
DEPENDENCIES
=
"libfsdetcore-0.10"
PROJECT_NAME
=
"libagipdrecv"
echo
"===START==="
echo
"===INSTALL DEPENDENCIES==="
apt update
apt
install
-y
"
$DEPENDENCIES
"
*
echo
"===copy source==="
cd
/build
mkdir
-p
"
$PROJECT_NAME
"
cd
"
$PROJECT_NAME
"
cp
-r
/src/
"
$PROJECT_NAME
"
/
*
.
echo
"===prepare==="
cd
/build
mkdir
-p
"build
$PROJECT_NAME
"
cd
"build
$PROJECT_NAME
"
echo
"===start build==="
cmake
-DCMAKE_INSTALL_PREFIX
=
"/lib.local/"
/build/
"
$PROJECT_NAME
"
make
echo
"===run test==="
make
test
echo
"install"
make
install
echo
"===DONE==="
Write
Preview
Supports
Markdown
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