diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..8bb7760d2825d73fd9490acda30c7dcd90ef4b75 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,28 @@ +image: docker.io/evili/labrobotica + +cmake-build: + stage: build + script: + - mkdir -pv Build + - cd Build + - cmake -D CMAKE_BUILD_TYPE=Debug .. + - make + artifacts: + paths: + - Build/ + +unit-test: + stage: test + script: + - cd Build + - ctest --timeout 15 --verbose -T test + - ctest --timeout 15 --verbose -T memcheck + artifacts: + paths: + - Build/ + +coverage: + stage: deploy + script: + - cd Build + - ctest --timeout 15 --verbose -T coverage