From c35a67716b72135649e2e28c6dc6338efdb1b0e9 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 12 Mar 2025 10:32:27 +0100 Subject: [PATCH] ci(release): clean deps native compilation artifacts before building production packages Otherwise dependencies such as fast_html are kept already compiled and not recompiled for native platform, leading to glibc version issues. Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 797504dec..381c169cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -302,6 +302,7 @@ package-app: script: &release-script - mix local.hex --force - mix local.rebar --force + - mix deps.clean --all # To avoid reusing native deps, such as lexbor being already built against another environment - mix deps.get --only-prod - mix compile - mix phx.digest.clean --all && mix phx.digest