summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-29 14:08:40 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-04-29 14:08:40 +0200
commit7588c42d9a1dfde83bc2ef2da24dce5bf4253ecb (patch)
tree7f7dc7832b307ff2f4ba88d67687bf2be69e1002
parentacb506f9a46e8ee2906a1ead96a1ff5918b17b85 (diff)
downloadpdf-over-7588c42d9a1dfde83bc2ef2da24dce5bf4253ecb.tar.gz
pdf-over-7588c42d9a1dfde83bc2ef2da24dce5bf4253ecb.tar.bz2
pdf-over-7588c42d9a1dfde83bc2ef2da24dce5bf4253ecb.zip
add linux and mac to CI run
-rw-r--r--.gitlab-ci.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4cfdcc49..e86b9d53 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,4 +18,35 @@ build-windows:
- "pdf-over-build/pdf-over_windows.zip"
expire_in: 1 day # gitlab does not apply this to the latest successful run, only previous runs
+build-linux:
+ stage: build
+ cache:
+ key: "maven-$CI_COMMIT_REF_SLUG"
+ paths:
+ - .m2/repository
+ tags:
+ - docker
+ script:
+ - mvn -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository clean install -Plinux -Dno-native-profile
+ artifacts:
+ name: "PDFOver (Linux) on $CI_COMMIT_REF_SLUG"
+ paths:
+ - "pdf-over-build/pdf-over_linux.jar"
+ expire_in: 1 day
+
+build-mac:
+ stage: build
+ cache:
+ key: "maven-$CI_COMMIT_REF_SLUG"
+ paths:
+ - .m2/repository
+ tags:
+ - docker
+ script:
+ - mvn -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository clean install -Pmac -Dno-native-profile
+ artifacts:
+ name: "PDFOver (Mac) on $CI_COMMIT_REF_SLUG"
+ paths:
+ - "pdf-over-build/pdf-over_mac.zip"
+ expire_in: 1 day