- apk update
- apk add make asciidoc
script:
- - make .adoc.6
+ - make advent.6
artifacts:
paths:
- advent.6
paths:
- "*.html"
+dist:
+ stage: build
+ before_script:
+ - apk update
+ - apk add make asciidoc
+ script:
+ - export VERS=${CI_COMMIT_REF_NAME}
+ - make dist -e
+ artifacts:
+ paths:
+ - "*.tar.gz"
+
# run tests using the binary built before
test:debug:
stage: test
script:
- mkdir public
- mv coverage public
- - "mv *.html public"
artifacts:
paths:
- public
only:
- master
dependencies:
- - html
- test:debug
+