diff options
Diffstat (limited to 'pleroma/build/tasks')
| -rw-r--r-- | pleroma/build/tasks/main.yaml | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/pleroma/build/tasks/main.yaml b/pleroma/build/tasks/main.yaml index 200b215..33d58ad 100644 --- a/pleroma/build/tasks/main.yaml +++ b/pleroma/build/tasks/main.yaml @@ -9,35 +9,19 @@ group: "{{ansible_user}}" mode: "0755" +# 26.04 ships elixir 1.15+, new enough for Pleroma; no more upstream zips. - name: install elixir build dependencies become: yes apt: name: - erlang - erlang-dev + - elixir - build-essential - cmake - libmagic-dev - libvips-dev -# TODO: Ubuntu Noble (24.04) only ships Elixir 1.14, which is too old for Pleroma. -# When the next Ubuntu LTS (26.04) is available, check if elixir >=1.15 is in the -# official repos and replace the two tasks below with a simple apt install. -- name: download elixir release - become: yes - get_url: - url: "https://github.com/elixir-lang/elixir/releases/download/v{{pleroma_elixir_version}}/elixir-otp-{{pleroma_erlang_otp_version}}.zip" - dest: "{{build_work_dir}}/elixir-{{pleroma_elixir_version}}.zip" - force: false - -- name: install elixir - become: yes - unarchive: - remote_src: yes - src: "{{build_work_dir}}/elixir-{{pleroma_elixir_version}}.zip" - dest: "/usr/local" - creates: "/usr/local/bin/elixir" - - name: install hex package manager command: mix local.hex --force # Keep the mix/hex caches on build_work_dir (the SSD) instead of the SD card. |
