diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..acbbc49951bdaeeef277bdf2701bb9dce2d675db --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,34 @@ + +stages: + - build + - test + +build : + stage: build + script: + - cd .. + - cp -R /root/* . + - ./install_lima_submodule + - cd ../lima/camera/v4l2 + - cp -R ../../../lima-camera-v4l2/* . + - cd ../.. + - ./install.sh camera/v4l2 python tests + - cd ../lima-camera-v4l2 + - cp -R ../lima . + artifacts: + paths: + - lima/ + only: + - cmake + +test : + stage: test + dependencies: + - build + script: + - cd .. + - cp -R lima-camera-v4l2/lima . + - cd lima/cmake-build/ + - ctest --timeout 10 + only: + - cmake