Skip to content
Snippets Groups Projects
Commit e9a1031f authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

ci: image with ros trying to compile

parent 8d321e20
No related branches found
No related tags found
2 merge requests!11new release,!10new release
...@@ -82,12 +82,18 @@ stages: ...@@ -82,12 +82,18 @@ stages:
- make install - make install
.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_node
- git checkout $CI_COMMIT_BRANCH
- cd ../..
- catkin_make
############ LICENSE HEADERS ############ ############ LICENSE HEADERS ############
license_headers: license_headers:
stage: license stage: license
image: labrobotica/wolf_deps:16.04 image: labrobotica/wolf_deps_ros:16.04
cache: cache:
- key: wolf-xenial - key: wolf-xenial
paths: paths:
...@@ -103,11 +109,14 @@ license_headers: ...@@ -103,11 +109,14 @@ 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:
- ci_deps/wolf/ - ci_deps/wolf/
- key: catkinws-src-xenial
paths:
- catkin_ws/src
except: except:
- master - master
before_script: before_script:
...@@ -119,11 +128,33 @@ build_and_test:xenial: ...@@ -119,11 +128,33 @@ 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:
- ci_deps/wolf/ - ci_deps/wolf/
- key: catkinws-src-bionic
paths:
- catkin_ws/src
except:
- master
before_script:
- *preliminaries_definition
- *install_wolf_definition
script:
- *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: catkinws-src-focal
paths:
- catkin_ws/src
except: except:
- master - master
before_script: before_script:
...@@ -168,4 +199,4 @@ deploy_apriltag: ...@@ -168,4 +199,4 @@ deploy_apriltag:
WOLF_APRILTAG_BRANCH: $WOLF_APRILTAG_BRANCH WOLF_APRILTAG_BRANCH: $WOLF_APRILTAG_BRANCH
WOLF_ROS_CORE_BRANCH: $CI_COMMIT_BRANCH WOLF_ROS_CORE_BRANCH: $CI_COMMIT_BRANCH
trigger: trigger:
project: mobile_robotics/wolf_projects/wolf_ros/wolf_ros_apriltag project: mobile_robotics/wolf_projects/wolf_ros/wolf_ros_apriltag
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment