Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
labrobotica
drivers
dynamixel
Commits
74b51819
Commit
74b51819
authored
May 16, 2019
by
Alejandro Lopez Gestoso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added gitlab Continuous Integration; Adapted to .deb packages generation.
parent
3821871c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
.gitlab-ci.yml
.gitlab-ci.yml
+36
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
74b51819
image
:
docker.io/alopeziri/labrobotica
stages
:
-
build
-
test
-
deploy
build-package
:
stage
:
build
script
:
# Uncomment to install dependencies
# - apt-get update
# - apt-get -y --allow-unauthenticated install iri-<package_name>-dev
-
apt-get update
-
apt-get -y --allow-unauthenticated install iri-iriutils-dev iri-comm-dev
-
apt-get install -y libxerces-c-dev xsdcxx
-
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*.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"
only
:
-
tags
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