Skip to content
Snippets Groups Projects

Dev/ci

Merged Brennan Miller-Klugman requested to merge dev/CI into dev/QOLChanges
1 file
+ 32
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 32
0
image: ros:noetic-robot
variables:
USE_ROSDEP : "false" # Here the package is useless, it is just for demonstration
cache:
paths:
- ccache/
before_script:
- sudo apt update >/dev/null && apt install -y git >/dev/null
- source /opt/ros/noetic/setup.bash
- source /home/brennan/catkin_ws/devel/setup.bash
catkin_make:
stage: build
script:
- cd /home/brennan/catkin_ws
- catkin_make
catkin run_tests:
stage: test
script:
- roscd ros_acomms
- git checkout "$CI_COMMIT_BRANCH"
- roscd ros_tests
- git pull
- cd /home/brennan/catkin_ws
- catkin_make
- screen -S sim -dm bash -c "cd /home/brennan/catkin_ws/src/acomms_tests/launch && roslaunch ros_tests queue_test.launch"
- rosrun ros_tests queueTest.py
- screen -X -S sim quit
Loading