-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
59 lines (47 loc) · 1.55 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
image: hrii/focal_ros_noetic:latest
stages:
- build
- test
# - pages
before_script:
- apt update
- source /opt/ros/noetic/setup.bash
# Go to home folder and clone hrii_installation_tools
- cd ~
- git clone [email protected]:hrii/general/hrii_installation_tools.git
# Create ros workspace
- WORKSPACE_TO_SOURCE=~/ros_ws
- mkdir -p $WORKSPACE_TO_SOURCE/src
#
- cd $WORKSPACE_TO_SOURCE/src
- git clone [email protected]:$CI_PROJECT_PATH.git -b $CI_COMMIT_BRANCH
- git clone [email protected]:hrii/planning/hrii_trajectory_planner.git
- git clone [email protected]:hrii/robotics/common/hrii_robot_interface.git
- git clone [email protected]:hrii/robotics/common/hrii_robot_msgs.git
- git clone [email protected]:hrii/general/hrii_utils.git
- git clone [email protected]:hrii/projects/robothon/hrii_robothon_msgs.git
- apt install ros-noetic-move-base-msgs -y
build:
stage: build
script:
- cd $WORKSPACE_TO_SOURCE
- catkin_make -Dmatlogger2_DIR=~/git/hrii_gitlab/general/matlogger2/build -DFranka_DIR:PATH=~/git/hrii_gitlab/robotics/franka/libfranka/build
test:
stage: test
script:
- cd $WORKSPACE_TO_SOURCE
- echo TODO
#- catkin_make run_tests
# pages:
# stage: pages
# script:
# - apt update && apt install doxygen graphviz -y
# - cd - cd $WORKSPACE_TO_SOURCE/src/$CI_PROJECT_NAME
# - doxygen Doxyfile
# - cd
# - mv - cd $WORKSPACE_TO_SOURCE/src/$CI_PROJECT_NAME/docs/html/ /builds/$CI_PROJECT_PATH/public
# artifacts:
# paths:
# - public
# only:
# - $CI_DEFAULT_BRANCH