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
labrobotica
drivers
dynamixel_motor_cont
Commits
2ffc8522
Commit
2ffc8522
authored
May 29, 2019
by
Alejandro Lopez Gestoso
Browse files
Added gitlab Continuous Integration; Adapted to .deb packages generation.
parent
c6b618db
Pipeline
#3554
failed with stages
in 1 minute and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
2ffc8522
image
:
docker.io/alopeziri/labrobotica
stages
:
-
build
-
test
-
deploy
build-package
:
stage
:
build
script
:
# Uncomment to install dependencies
# - apt update
# - apt -y install iri-<package_name>-dev
-
apt update
-
apt -y install iri-iriutils-dev iri-comm-dev iri-trajectory-dev iri-dynamixel-dev
-
apt install -y libxerces-c-dev xsdcxx libboost-all-dev
-
mkdir -pv build
-
cd build
-
cmake -D CMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG ..
-
make package -j $(nproc)
artifacts
:
paths
:
-
build/*.deb
expire_in
:
2 weeks
only
:
-
tags
update_repo
:
stage
:
deploy
script
:
-
cd build
-
"
scp
-i
/root/.ssh/iriLabKeyNopwd
-r
*dynamixel_motor_cont*.deb
irilabo@147.83.76.226:packages/"
-
"
ssh
irilabo@147.83.76.226
-i
/root/.ssh/iriLabKeyNopwd
-tt
/home/irilabo/repo_scripts/update_repo.sh
dynamixel_motor_cont"
only
:
-
tags
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