From 812094dbd56d6bf08a81a4f51e936a0afa269c13 Mon Sep 17 00:00:00 2001
From: SebastianEbert <sebastian.ebert@tu-dresden.de>
Date: Wed, 8 Apr 2020 11:56:18 +0200
Subject: [PATCH] CI

---
 .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..c17c6fd
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+variables:
+  GIT_SUBMODULE_STRATEGY: recursive
+  GIT_CLONE_PATH: $CI_BUILDS_DIR
+
+stages:
+  - build
+
+build-ws:
+  image: ros:melodic-ros-base-bionic
+  stage: build
+  script:
+    - apt-get update
+    - apt-get install -y ros-melodic-libfranka python-catkin-tools libeigen3-dev 
+    - apt-get install build-essential gcc make cmake cmake-gui cmake-curses-gui
+    - apt-get install libssl-dev
+    - apt-get install doxygen graphviz
+    - apt-get install libcppunit-dev
+    - echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
+    - source ~/.bashrc
+    - rosdep install -y --from-paths .
+    - git clone https://github.com/eclipse/paho.mqtt.c.git
+    - cd paho.mqtt.c
+    - git checkout v1.3.1
+    - cmake -Bbuild -H. -DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF
+    - cmake --build build/ --target install
+    - ldconfig
+    - cd ..
+    - git clone https://github.com/eclipse/paho.mqtt.cpp
+    - cd paho.mqtt.cpp
+    - cmake -Bbuild -H. -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE
+    - cmake --build build/ --target install
+    - ldconfig
+    - catkin build
-- 
GitLab