Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vision
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
mobile_robotics
wolf_projects
wolf_lib
plugins
vision
Commits
fc80090a
Commit
fc80090a
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
CI: using cache
parent
ec710305
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!24
After 2nd RAL submission
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+36
-9
36 additions, 9 deletions
.gitlab-ci.yml
with
36 additions
and
9 deletions
.gitlab-ci.yml
+
36
−
9
View file @
fc80090a
...
...
@@ -20,24 +20,37 @@
# update apt
-
apt-get update
.install_wolf_template
:
&install_wolf_definition
-
git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git
-
cd wolf
-
if [ -d wolf ]; then
-
echo "directory wolf exists"
-
cd wolf
-
git pull
-
else
-
git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git
-
cd wolf
-
fi
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
-
make -j
$(nproc)
-
ctest -j
$(nproc)
-
make -j
2
-
ctest -j
2
-
make install
-
cd ../..
.install_visionutils_template
:
&install_visionutils_definition
-
git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/vision_utils.git
-
cd laser_scan_utils
-
if [ -d vision_utils ]; then
-
echo "directory vision_utils exists"
-
cd vision_utils
-
git pull
-
else
-
git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/vision_utils.git
-
cd vision_utils
-
fi
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=release ..
-
make -j
$(nproc)
-
make -j
2
-
make install
-
cd ../..
...
...
@@ -45,13 +58,20 @@
-
mkdir -pv build
-
cd build
-
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..
-
make -j
$(nproc)
-
ctest -j
$(nproc)
-
make -j
2
-
ctest -j
2
-
make install
############ UBUNTU 16.04 TESTS ############
wolf_build_and_test_none:xenial
:
image
:
labrobotica/wolf_vision_deps:16.04
cache
:
-
key
:
wolf-xenial
paths
:
-
wolf/
-
key
:
visionutils-xenial
paths
:
-
vision_utils/
except
:
-
master
before_script
:
...
...
@@ -65,6 +85,13 @@ wolf_build_and_test_none:xenial:
############ UBUNTU 18.04 TESTS ############
wolf_build_and_test_none:bionic
:
image
:
labrobotica/wolf_vision_deps:18.04
cache
:
-
key
:
wolf-bionic
paths
:
-
wolf/
-
key
:
visionutils-bionic
paths
:
-
vision_utils/
except
:
-
master
before_script
:
...
...
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