1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-23 08:32:39 +00:00
kickc/.gitlab-ci.yml

27 lines
672 B
YAML
Raw Normal View History

image: maven:3-jdk-14
2017-12-28 15:34:21 +00:00
release:
2018-09-26 21:39:11 +00:00
stage: build
2018-02-12 21:42:16 +00:00
script:
- "mvn -e package -DskipTests"
- "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