diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..33b7908d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +build: + stage: build + # instead of calling g++ directly you can also use some build toolkit like make + # install the necessary build tools when needed + # before_script: + # - apt update && apt -y install make autoconf + script: + - ./configure + - make + - make install + +# run tests using the binary built before +test: + stage: test + script: + - ./configure + - cd ./build/tests/ + - make \ No newline at end of file