Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
segway_rmp_400
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
drivers
segway_rmp_400
Commits
b121e411
Commit
b121e411
authored
5 years ago
by
Fernando Herrero
Browse files
Options
Downloads
Patches
Plain Diff
Add ignore and ci files
parent
61dc70d7
No related branches found
No related tags found
No related merge requests found
Pipeline
#4376
passed
5 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+36
-0
36 additions, 0 deletions
.gitlab-ci.yml
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
with
40 additions
and
1 deletion
.gitignore
0 → 100644
+
3
−
0
View file @
b121e411
bin
build
lib
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
36
−
0
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
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
1
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment