Add .gitlab-ci.yml

This commit is contained in:
David James Sherman 2017-05-30 16:36:10 +00:00
parent b3d6df3a8d
commit 6b8c994876

22
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,22 @@
image: gcc
# build using Makefile
build:
stage: build
before_script:
- apt update && apt -y install make autoconf
script:
- make advent
artifacts:
paths:
- advent
# cache outputs to reduce the build time
cache:
paths:
- "*.o"
# run tests using the binary built before
test:
stage: test
script:
- make check