1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-29 02:50:11 +00:00

Working on doxygen CI script. #672

This commit is contained in:
jespergravgaard 2021-06-19 21:53:11 +02:00
parent 6f283b886b
commit 0460ecf88e

View File

@ -3,14 +3,14 @@ release:
image: maven:3-jdk-13 image: maven:3-jdk-13
stage: build stage: build
script: script:
- "mvn -e package" - mvn -e package
- "mkdir target/release" - mkdir target/release
- "ls target" - ls target
- "tar -C target/release -xzvf target/kickc-release.tgz" - 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" - mv target/release/kickc/jar/kickc-release.jar target/release/kickc/jar/kickc-${CI_COMMIT_REF_NAME}.jar
- "mkdir ./kickc" - mkdir ./kickc
- "mv target/release/kickc/* ./kickc/" - mv target/release/kickc/* ./kickc/
- "cat target/site/jacoco/index.html" - cat target/site/jacoco/index.html
artifacts: artifacts:
name: kickc_${CI_COMMIT_REF_NAME} name: kickc_${CI_COMMIT_REF_NAME}
paths: paths:
@ -30,6 +30,10 @@ pages:
stage: build stage: build
script: script:
- apk update && apk add doxygen graphviz ttf-freefont - apk update && apk add doxygen graphviz ttf-freefont
- pwd
- ls -l
- mkdir target
- mkdir target/doxygen
- doxygen src/main/doxygen/doxygen.conf - doxygen src/main/doxygen/doxygen.conf
- mv target/doxygen/html/ public/ - mv target/doxygen/html/ public/
artifacts: artifacts: