From 4ea23e1ffb99dc81023823b0fe588d2f33d6e392 Mon Sep 17 00:00:00 2001 From: Roger Sen Date: Wed, 11 Jan 2017 18:30:33 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml 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