Commit 5e5328d3 authored by Tim Übelhör's avatar Tim Übelhör

Merge branch 'gitlab-ci' into 'master'

Gitlab ci

See merge request !1
parents 6312c2a2 cf895d7c
Pipeline #201246 passed with stage
in 4 minutes and 1 second
image: ros:melodic-ros-core
- ccache/
USE_ROSDEP: "false" # need manual order to pull my own git
- git clone
- source ros_gitlab_ci/gitlab-ci.bash >/dev/null catkin
# before ros_gitlab_ci so rosdep finds it
- git clone ${CI_PROJECT_DIR}/catkin_workspace/src/gl3w_ros
- echo "Using rosdep to install dependencies"
# use rosdep for dependencies
- apt-get install -qq python-rosdep python-pip
- rosdep init || true
- rosdep update
- rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y --as-root apt:false
stage: build
- catkin build --summarize --no-status --force-color
......@@ -33,3 +33,6 @@ If you want to learn more about the OpenGL implementation, please visit Joey de
Vries website and his twitter page Thanks to his awesome resources I managed to
write this library in a bit more than a week.
# CI
A gitlab CI pipeline is implemented, which is based on [ros_gitlab_ci]( The CI is based on the ros:melodic-ros-core docker image and will install the dependencies via rosdep. The gitlab-runner must use a docker executor.
\ No newline at end of file
cmake_minimum_required(VERSION 2.8.12)
add_executable(example example.cpp)
target_link_libraries(example ${CONAN_LIBS})
from conans import ConanFile, CMake
import os
class Gl3wTestConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
options = {"shared": [True, False], "fPIC": [True, False]}
default_options = "shared=False", "fPIC=True"
def build(self):
cmake = CMake(self)
def imports(self):
self.copy("*.dll", dst="bin", src="bin")
self.copy("*.dylib*", dst="bin", src="lib")
def test(self):
os.chdir("bin")".%sexample" % os.sep)
#include <cstdlib>
#include <scigl_render/gl_context.hpp>
int main(int argc, char **argv)
scigl_render::GLContext gl_context(true, false, 640, 480);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment