Add .gitlab-ci.yml

This commit is contained in:
Roger Sen 2017-01-11 18:30:33 +00:00
parent 625f76b752
commit 4ea23e1ffb

18
.gitlab-ci.yml Normal file
View file

@ -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