diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..899c337be --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +# use the official gcc image, based on debian +# can use verions as well, like gcc:5.2 +# see https://hub.docker.com/_/gcc/ +image: gcc + +build: + stage: build + before_script: + - apt update && apt -y install make + script: + - make -C tests + cache: + paths: + - "tests/*.o" + - "tests/test-*" + +test: + stage: test + script: + - make -C tests check