Add .gitlab-ci.yml

This commit is contained in:
David James Sherman 2017-05-30 16:36:10 +00:00 committed by NHOrus
parent 8035840aee
commit 51a34d9e6d

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