Rebar/Rebar3: Update binaries to work with Erlang/OTP 25-28 (#4354)
They are compiled from their git repositories, main branches, using erlang:25-slim docker image. To compile ejabberd using rebar/rebar3 and Erlang 20.0 up to 23.3, you can download the old binaries from ejabberd 21.12, available at: https://github.com/processone/ejabberd/raw/21.12/rebar https://github.com/processone/ejabberd/raw/21.12/rebar3 To compile ejabberd using rebar/rebar3 and Erlang 24.0 up to 24.3, you can download the old binaries from ejabberd 24.12, available at: https://github.com/processone/ejabberd/raw/24.12/rebar https://github.com/processone/ejabberd/raw/24.12/rebar3
This commit is contained in:
@@ -51,7 +51,7 @@ jobs:
|
||||
run: |
|
||||
sed -i "s|13.0 |9.0.5 |g" configure.ac
|
||||
|
||||
- name: Get compatible Rebar binaries
|
||||
- name: Get old compatible Rebar binaries
|
||||
if: matrix.otp < 24
|
||||
run: |
|
||||
rm rebar
|
||||
@@ -61,6 +61,16 @@ jobs:
|
||||
chmod +x rebar
|
||||
chmod +x rebar3
|
||||
|
||||
- name: Get recent compatible Rebar binaries
|
||||
if: matrix.otp > 23 && matrix.otp < 25
|
||||
run: |
|
||||
rm rebar
|
||||
rm rebar3
|
||||
wget https://github.com/processone/ejabberd/raw/24.12/rebar
|
||||
wget https://github.com/processone/ejabberd/raw/24.12/rebar3
|
||||
chmod +x rebar
|
||||
chmod +x rebar3
|
||||
|
||||
- name: Prepare libraries
|
||||
run: |
|
||||
apt-get -qq update
|
||||
|
||||
Reference in New Issue
Block a user