summaryrefslogtreecommitdiff
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
parent4fb27da84e34991bde4e8fa1e36154c568b358af (diff)
downloadpdf-over-5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756.tar.gz
pdf-over-5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756.tar.bz2
pdf-over-5a5e8ac4ccbd270e89fc1db3845b5c1e8707e756.zip
enable aarch64 build in CI
-rw-r--r--.gitlab-ci.yml15
-rw-r--r--pdf-over-gui/pom.xml1
2 files changed, 15 insertions, 1 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
diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml
index 1bb9998f..a9a07ec3 100644
--- a/pdf-over-gui/pom.xml
+++ b/pdf-over-gui/pom.xml
@@ -677,7 +677,6 @@
</properties>
</profile>
<profile>
- <!-- this profile is not yet specified in publish.sh; there is no openjdk11 for aarch64, and SWT needs adding to internal mvn -->
<id>mac-aarch64</id>
<activation>
<os>