Skip to content
Snippets Groups Projects
Commit 31e7adfe authored by Johannes Mey's avatar Johannes Mey
Browse files

simplify CI script

parent 97f7e613
No related branches found
No related tags found
No related merge requests found
......@@ -10,25 +10,7 @@ build-ws:
stage: build
script:
- apt-get update
- apt-get install -y ros-melodic-libfranka python-catkin-tools libeigen3-dev
- apt-get install -y build-essential
- apt-get install -y gcc
- apt-get install -y make
- apt-get install -y cmake
- apt-get install -y libssl-dev
- echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
- source ~/.bashrc
- apt-get install -y ros-melodic-libfranka python-catkin-tools libeigen3-dev build-essential cmake libssl-dev
- source /opt/ros/melodic/setup.bash
- 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=FALSE -DPAHO_BUILD_SAMPLES=FALSE -DPAHO_BUILD_SAMPLES=FALSE
- cmake --build build/ --target install
- ldconfig
- catkin build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment