summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJuan J. Martínez <jjm@usebox.net>2021-07-09 07:13:17 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-07-22 19:49:52 +0100
commit721abda732a72008d3753e8163df95d4f4a27197 (patch)
treeb56fbcad60da78353f7a8e24f769d3f9c7aa7932 /.gitlab-ci.yml
parent52d7675ad9c73d50316cf6b4ebbce7abf3b14fcd (diff)
downloadspacebeans-721abda732a72008d3753e8163df95d4f4a27197.tar.gz
spacebeans-721abda732a72008d3753e8163df95d4f4a27197.zip
First stab at packaging
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml21
1 files changed, 20 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 38bec89..c43fa8c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,24 @@
image: openjdk:8
+stages:
+ - test
+ - package
+
+cache:
+ paths:
+ - .cache/
+
test:
+ stage: test
+ script:
+ - ./mill -D ivy.home=.cache server.test
+
+package:
+ stage: package
script:
- - ./mill server.test
+ - ./mill server.assembly
+ artifacts:
+ paths:
+ - out/server/assembly/dest/*.jar
+ only:
+ - master