summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-02 13:13:56 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-05-02 13:13:56 +0200
commit5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756 (patch)
tree38bc6db83b09b3ba7f5cc69aadf75053e45e1847 /.gitlab-ci.yml
parent4fb27da84e34991bde4e8fa1e36154c568b358af (diff)
downloadpdf-over-5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756.tar.gz
pdf-over-5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756.tar.bz2
pdf-over-5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756.zip
enable aarch64 build in CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0013fbc5..bba4944d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -50,3 +50,18 @@ build-mac:
- "pdf-over-build/pdf-over_mac.zip"
expire_in: 1 day
+build-mac-aarch64:
+ stage: build
+ cache:
+ key: "maven-$CI_COMMIT_REF_SLUG"
+ paths:
+ - .m2/repository
+ tags:
+ - docker
+ script:
+ - mvn -B -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository clean install -Pmac-aarch64 -Dno-native-profile
+ artifacts:
+ name: "PDFOver (Mac M1) on $CI_COMMIT_REF_SLUG"
+ paths:
+ - "pdf-over-build/pdf-over_mac-aarch64.zip"
+ expire_in: 1 day