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
+ - apk add make gcc musl-dev python3
+ - pip3 install PyYAML
script:
- make debug
artifacts:
stage: build
before_script:
- apk update
- - apk add make gcc musl-dev
+ - apk add make gcc musl-dev python3
+ - pip3 install PyYAML
script:
- make advent
artifacts:
pages:
stage: deploy
script:
- - mkdir -p public/releases
+ - mkdir public
- mv coverage public
- - "mv *.html public"
- - "mv *.tar.gz public/releases"
artifacts:
paths:
- public
only:
- master
dependencies:
- - html
- test:debug
- - dist