Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
segway_rmp_400
Commits
b121e411
Commit
b121e411
authored
Sep 23, 2019
by
Fernando Herrero
Browse files
Add ignore and ci files
parent
61dc70d7
Pipeline
#4376
passed with stages
in 41 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
b121e411
bin
build
lib
.gitlab-ci.yml
0 → 100644
View file @
b121e411
image
:
docker.io/labrobotica/labrobotica
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
stages
:
-
build
-
test
-
deploy
build-package
:
stage
:
build
script
:
-
apt update
-
apt -y install iri-iriutils-dev iri-comm-dev iri-segway-rmp-200-dev
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCPACK_PACKAGE_VERSION=$CI_COMMIT_TAG ..
-
ls ..
-
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
*segway-rmp-400*.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
segway-rmp-400"
only
:
-
tags
CMakeLists.txt
View file @
b121e411
...
...
@@ -86,7 +86,7 @@ IF (UNIX)
# Uncomment to add dependencies comma separated
# SET(CPACK_DEBIAN_PACKAGE_DEPENDS "iri-<package_name>-dev (>= 1.0~${DISTRIB})")
SET
(
CPACK_DEBIAN_PACKAGE_DEPENDS
"iri-iriutils-dev (>= 1.0~
${
DISTRIB
}
), iri-comm-dev (>= 1.0~
${
DISTRIB
}
), iri-segway-rmp-200 (>= 1.0~
${
DISTRIB
}
)"
)
SET
(
CPACK_DEBIAN_PACKAGE_DEPENDS
"iri-iriutils-dev (>= 1.0~
${
DISTRIB
}
), iri-comm-dev (>= 1.0~
${
DISTRIB
}
), iri-segway-rmp-200
-dev
(>= 1.0~
${
DISTRIB
}
)"
)
INCLUDE
(
CPack
)
ELSE
(
UNIX
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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