From 0460ecf88e2614ed8a5c48bfde6999e368a0673c Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sat, 19 Jun 2021 21:53:11 +0200 Subject: [PATCH] Working on doxygen CI script. #672 --- .gitlab-ci.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d57dc7ba6..468f27587 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,14 +3,14 @@ release: image: maven:3-jdk-13 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" + - 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: @@ -30,6 +30,10 @@ pages: stage: build script: - apk update && apk add doxygen graphviz ttf-freefont + - pwd + - ls -l + - mkdir target + - mkdir target/doxygen - doxygen src/main/doxygen/doxygen.conf - mv target/doxygen/html/ public/ artifacts: