2022-01-23 19:44:24 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
- package
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
image: maven:3-openjdk-17
|
|
|
|
script:
|
|
|
|
- mvn $MAVEN_CLI_OPTS compile
|
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
image: maven:3-openjdk-17
|
|
|
|
script:
|
|
|
|
- mvn $MAVEN_CLI_OPTS test
|
|
|
|
artifacts:
|
|
|
|
name: jacoco
|
|
|
|
paths:
|
|
|
|
- target/site/jacoco/
|
2020-08-24 20:48:20 +00:00
|
|
|
|
2018-09-30 13:51:15 +00:00
|
|
|
release:
|
2022-01-23 19:44:24 +00:00
|
|
|
stage: package
|
2021-10-19 10:50:51 +00:00
|
|
|
image: maven:3-openjdk-17
|
2018-02-12 21:42:16 +00:00
|
|
|
script:
|
2022-01-23 19:44:24 +00:00
|
|
|
- mvn $MAVEN_CLI_OPTS -e package
|
2021-06-19 19:53:11 +00:00
|
|
|
- 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/
|
2018-09-26 20:49:00 +00:00
|
|
|
artifacts:
|
2018-10-01 23:06:36 +00:00
|
|
|
name: kickc_${CI_COMMIT_REF_NAME}
|
2018-09-26 20:49:00 +00:00
|
|
|
paths:
|
2019-08-08 22:03:59 +00:00
|
|
|
- ./kickc/bin
|
2020-04-11 19:24:08 +00:00
|
|
|
- ./kickc/jar
|
2020-04-11 19:15:34 +00:00
|
|
|
- ./kickc/include
|
|
|
|
- ./kickc/lib
|
2020-06-14 11:49:20 +00:00
|
|
|
- ./kickc/target
|
2019-08-08 22:03:59 +00:00
|
|
|
- ./kickc/fragment
|
|
|
|
- ./kickc/examples
|
|
|
|
- ./kickc/LICENSE*
|
|
|
|
- ./kickc/NOTICE*
|
|
|
|
- ./kickc/*.pdf
|
2021-06-19 18:49:14 +00:00
|
|
|
|
|
|
|
pages:
|
2022-01-23 19:44:24 +00:00
|
|
|
stage: package
|
2021-06-19 19:49:37 +00:00
|
|
|
image: alpine
|
2021-06-19 18:49:14 +00:00
|
|
|
script:
|
|
|
|
- apk update && apk add doxygen graphviz ttf-freefont
|
2021-06-19 19:53:11 +00:00
|
|
|
- pwd
|
|
|
|
- ls -l
|
|
|
|
- mkdir target
|
|
|
|
- mkdir target/doxygen
|
2021-06-19 18:49:14 +00:00
|
|
|
- doxygen src/main/doxygen/doxygen.conf
|
|
|
|
- mv target/doxygen/html/ public/
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
2021-06-19 19:28:43 +00:00
|
|
|
- master
|