diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..620c6673 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,29 @@ +stages: + - build + - test + +build: + stage: build + script: + - git submodule update --init --recursive + - cmake . + - make -j$(nproc) + artifacts: + untracked: true + paths: + - libraries/ + - programs/ + - tests/ + tags: + - builder + +test: + stage: test + dependencies: + - build + script: + - ./tests/betting_test + - ./tests/chain_test + - ./tests/cli_test + tags: + - builder