image: alpine
-variables:
- GIT_SUBMODULE_STRATEGY: "recursive"
- GIT_SSL_NO_VERIFY: "true"
-
stages:
- build
- test
stage: build
before_script:
- apk update
- - apk add make gcc musl-dev python3
+ - apk add make gcc musl-dev python3 libedit-dev
- pip3 install PyYAML
script:
- make debug
stage: build
before_script:
- apk update
- - apk add make gcc musl-dev python3
+ - apk add make gcc musl-dev python3 libedit-dev
- pip3 install PyYAML
script:
- make advent cheat
script:
- cd tests
- make
+ - make coverage
- cd ..
- - lcov -t "advent" -o advent.info -c -d .
- - genhtml -o coverage advent.info
artifacts:
paths:
- coverage