From 8b0e4e51885cbc91334699c3069c69cd5b52f9ca Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 3 Mar 2021 10:11:01 +0100 Subject: [PATCH] Add ARM builds Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b386e9a8..f1ca0fe8b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -204,7 +204,7 @@ build-docker-tag: variables: DOCKER_IMAGE_NAME: framasoft/mobilizon:$CI_COMMIT_TAG -package-app: +package-app-amd64: stage: package variables: &release-variables MIX_ENV: "prod" @@ -215,8 +215,38 @@ package-app: - mix phx.digest - mix release --path release/mobilizon - cd release/mobilizon && ln -s lib/mobilizon-*/priv priv - only: - - tags@framasoft/mobilizon + # only: + # - tags@framasoft/mobilizon + artifacts: + expire_in: never + paths: + - release + +package-app-arm64: + stage: package + image: arm64v8/elixir:1.11 + tags: + - arm64 + variables: &release-variables + MIX_ENV: "prod" + script: *release-script + # only: + # - tags@framasoft/mobilizon + artifacts: + expire_in: never + paths: + - release + +package-app-arm: + stage: package + image: arm32v7/elixir:1.11 + tags: + - arm32 + variables: &release-variables + MIX_ENV: "prod" + script: *release-script + # only: + # - tags@framasoft/mobilizon artifacts: expire_in: never paths: