open-adventure/.gitlab-ci.yml
David James Sherman 51a34d9e6d Add .gitlab-ci.yml
2017-06-13 20:43:42 +03:00

22 lines
360 B
YAML

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