Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_ros_gnss
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_ros
wolf_ros_gnss
Commits
3a0ebd41
Commit
3a0ebd41
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
fixing CI and c++14
parent
ac4d2bfb
No related branches found
No related tags found
2 merge requests
!3
After cmake and const refactor
,
!1
new release
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+46
-4
46 additions, 4 deletions
.gitlab-ci.yml
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
with
47 additions
and
5 deletions
.gitlab-ci.yml
+
46
−
4
View file @
3a0ebd41
...
@@ -28,6 +28,10 @@ stages:
...
@@ -28,6 +28,10 @@ stages:
# create ci_deps folder (if not exists)
# create ci_deps folder (if not exists)
-
mkdir -pv ci_deps
-
mkdir -pv ci_deps
# manually source ros setup.bash
-
source /root/catkin_ws/devel/setup.bash
-
roscd
# check that it works
.license_header_template
:
&license_header_definition
.license_header_template
:
&license_header_definition
-
cd $CI_PROJECT_DIR
-
cd $CI_PROJECT_DIR
...
@@ -67,6 +71,7 @@ stages:
...
@@ -67,6 +71,7 @@ stages:
-
if [ -d wolf ]; then
-
if [ -d wolf ]; then
-
echo "directory wolf exists"
-
echo "directory wolf exists"
-
cd wolf
-
cd wolf
-
git checkout devel
-
git pull
-
git pull
-
git checkout $WOLF_CORE_BRANCH
-
git checkout $WOLF_CORE_BRANCH
-
else
-
else
...
@@ -104,6 +109,7 @@ stages:
...
@@ -104,6 +109,7 @@ stages:
-
if [ -d gnss ]; then
-
if [ -d gnss ]; then
-
echo "directory gnss exists"
-
echo "directory gnss exists"
-
cd gnss
-
cd gnss
-
git checkout devel
-
git pull
-
git pull
-
git checkout $WOLF_GNSS_BRANCH
-
git checkout $WOLF_GNSS_BRANCH
-
else
-
else
...
@@ -119,10 +125,20 @@ stages:
...
@@ -119,10 +125,20 @@ stages:
-
make install
-
make install
.clone_wolfrosnode_template
:
&clone_wolfrosnode_definition
.clone_wolfrosnode_template
:
&clone_wolfrosnode_definition
-
echo "TODO clone wolf_ros_node branch ${WOLF_ROS_CORE_BRANCH}"
-
roscd
-
cd ../src
-
git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_ros/wolf_ros_node.git
-
cd wolf_ros_node
-
git checkout $WOLF_ROS_CORE_BRANCH
.build_and_test_template
:
&build_and_test_definition
.build_and_test_template
:
&build_and_test_definition
-
echo "TODO"
-
roscd
-
cd ../src
-
git clone ssh://git@gitlab.iri.upc.edu:2202/${CI_PROJECT_PATH}.git
-
cd wolf_ros_gnss
-
git checkout $CI_COMMIT_BRANCH
-
cd ../..
-
catkin_make
############ LICENSE HEADERS ############
############ LICENSE HEADERS ############
license_headers
:
license_headers
:
...
@@ -143,7 +159,7 @@ license_headers:
...
@@ -143,7 +159,7 @@ license_headers:
############ UBUNTU 16.04 TEST ############
############ UBUNTU 16.04 TEST ############
build_and_test:xenial
:
build_and_test:xenial
:
stage
:
build_and_test
stage
:
build_and_test
image
:
labrobotica/wolf_deps:16.04
image
:
labrobotica/wolf_deps
_ros
:16.04
cache
:
cache
:
-
key
:
wolf-xenial
-
key
:
wolf-xenial
paths
:
paths
:
...
@@ -169,7 +185,7 @@ build_and_test:xenial:
...
@@ -169,7 +185,7 @@ build_and_test:xenial:
############ UBUNTU 18.04 TEST ############
############ UBUNTU 18.04 TEST ############
build_and_test:bionic
:
build_and_test:bionic
:
stage
:
build_and_test
stage
:
build_and_test
image
:
labrobotica/wolf_deps:18.04
image
:
labrobotica/wolf_deps
_ros
:18.04
cache
:
cache
:
-
key
:
wolf-bionic
-
key
:
wolf-bionic
paths
:
paths
:
...
@@ -192,6 +208,32 @@ build_and_test:bionic:
...
@@ -192,6 +208,32 @@ build_and_test:bionic:
script
:
script
:
-
*build_and_test_definition
-
*build_and_test_definition
############ UBUNTU 20.04 TEST ############
build_and_test:focal
:
stage
:
build_and_test
image
:
labrobotica/wolf_deps_ros:20.04
cache
:
-
key
:
wolf-focal
paths
:
-
ci_deps/wolf/
-
key
:
gnssutils-focal
paths
:
-
ci_deps/gnss_utils/
-
key
:
gnss-focal
paths
:
-
ci_deps/gnss/
except
:
-
master
before_script
:
-
*preliminaries_definition
-
*install_wolf_definition
-
*install_gnssutils_definition
-
*install_wolfgnss_definition
-
*clone_wolfrosnode_definition
-
ldconfig
script
:
-
*build_and_test_definition
############ RUN DEMOS ############
############ RUN DEMOS ############
demo_gnss
:
demo_gnss
:
stage
:
demos
stage
:
demos
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
1
View file @
3a0ebd41
...
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
...
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
project
(
wolf_ros_gnss
)
project
(
wolf_ros_gnss
)
## Compile as C++11, supported in ROS Kinetic and newer
## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options
(
-std=c++1
1
)
add_compile_options
(
-std=c++1
4
)
# SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/wolf_ros_wrapper/cmake_modules")
# SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/wolf_ros_wrapper/cmake_modules")
## Find catkin macros and libraries
## Find catkin macros and libraries
...
...
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