1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/.gitlab-ci.yml
2021-06-19 21:28:43 +02:00

37 lines
877 B
YAML

image: maven:3-jdk-13
release:
stage: build
script:
- "mvn -e package"
- "mkdir target/release"
- "ls target"
- "tar -C target/release -xzvf target/kickc-release.tgz"
- "mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar"
- "mkdir ./kickc"
- "mv target/release/kickc/* ./kickc/"
- "cat target/site/jacoco/index.html"
artifacts:
name: kickc_${CI_COMMIT_REF_NAME}
paths:
- ./kickc/bin
- ./kickc/jar
- ./kickc/include
- ./kickc/lib
- ./kickc/target
- ./kickc/fragment
- ./kickc/examples
- ./kickc/LICENSE*
- ./kickc/NOTICE*
- ./kickc/*.pdf
pages:
script:
- apk update && apk add doxygen graphviz ttf-freefont
- doxygen src/main/doxygen/doxygen.conf
- mv target/doxygen/html/ public/
artifacts:
paths:
- public
only:
- master