open-adventure/.gitlab-ci.yml
2017-05-30 22:24:21 +02:00

22 lines
351 B
YAML

image: gcc
# build using Makefile
build:
stage: build
before_script:
- apt update && apt -y install make
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