diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6266cb6dd9317ac8166e2a7c8e5ac6f5a2fa75e3..ae3f8d18e1c161297d13918b0161991f903f3861 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,2 +1,21 @@ -job1: - script: "/home/ci/gitlab/test.sh" \ No newline at end of file +variables: + GIT_STRATEGY: fetch + GIT_DEPTH: "3" + +stages: + - build + - test + +build: + stage: build + script: + - git submodule init + - git submodule update + - mkdir build + - cd build + - cmake .. + - make -j2 + +test: + stage: test + script: ctest \ No newline at end of file