diff options
-rw-r--r-- | .gitlab-ci.yml | 15 | ||||
-rw-r--r-- | pdf-over-gui/pom.xml | 1 |
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> |