summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 17579354..347fa6cc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,9 +2,18 @@
image: maven:3.8.1-openjdk-11
-build:
+build-windows:
stage: build
+ cache:
+ key: "maven-$CI_COMMIT_REF_SLUG"
+ paths:
+ - .m2/repository
tags:
- docker
script:
- - mvn clean compile -DskipTests=true
+ - mvn clean install -Pwindows -Dno-native-profile
+ artifacts:
+ name: "PDFOver (Windows) on $CI_COMMIT_REF_SLUG"
+ paths:
+ - "pdf-over-build/pdf-over_windows.zip"
+