Skip to content

Commit 04e4582

Browse files
author
Thomas Witte
committed
added .gitlab-ci.yml
1 parent b1781d2 commit 04e4582

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
build:
2+
stage: build
3+
script:
4+
- source /opt/ros/melodic/setup.bash
5+
6+
- mkdir -p ros_ws/src
7+
- cd ros_ws/src
8+
- git clone git@spgit.informatik.uni-ulm.de:quadrocopter/quad_common_utils.git
9+
- git clone git@spgit.informatik.uni-ulm.de:quadrocopter/hector_quadrotor.git
10+
- git clone https://github.com/sp-uulm/MiniLua.git
11+
- cd ../..
12+
13+
- rm -f ros_ws/src/interactive_script || true
14+
- ln -s $(pwd) ros_ws/src/interactive_script
15+
16+
- cd ros_ws
17+
- rm -rf build install log
18+
- colcon build --packages-up-to interactive_script
19+
- source install/local_setup.bash
20+
artifacts:
21+
paths:
22+
- ros_ws/install
23+
24+
tests:
25+
stage: test
26+
script:
27+
- source ros_ws/install/local_setup.bash
28+
- rqt --list-plugins --force-discover | grep -q interactive_script

0 commit comments

Comments
 (0)