open-adventure/.gitlab-ci.yml
David James Sherman 6b8c994876 Add .gitlab-ci.yml
2017-05-30 16:36:10 +00: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