@@ -23,27 +23,37 @@ jobs:
2323 fail-fast : false
2424 matrix :
2525 otp :
26- - 25.3.2-2
27- - 26.1.2-1
26+ - " 26"
27+ - " 27"
28+ rebar3 :
29+ - " 3.22.0"
2830 os :
29- - macos-13
3031 - macos-14
32+ - macos-15
3133 runs-on : ${{ matrix.os }}
3234 steps :
33- - uses : actions/checkout@v3
35+ - uses : actions/checkout@v4
3436 with :
3537 submodules : recursive
3638 fetch-depth : 0
3739 ref : ${{ github.event.inputs.build_from }} # when input is not given, the event tag is used
3840
39- - uses : ./.github/actions/macos-erlang
40- with :
41- otp : ${{ matrix.otp }}
42- os : ${{ matrix.os }}
41+ - name : install erlang & build tooling
42+ env :
43+ HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK : " 1"
44+ run : |
45+ brew update
46+ brew install automake libtool
47+ brew install erlang@${{ matrix.otp }}
48+ echo "$(brew --prefix erlang@${{ matrix.otp }})/bin" >> $GITHUB_PATH
49+
50+ - name : install rebar3
51+ run : |
52+ wget https://github.com/erlang/rebar3/releases/download/${{ matrix.rebar3 }}/rebar3 && chmod +x rebar3
53+ sudo mv rebar3 /usr/local/bin/ && sudo chmod +x /usr/local/bin/rebar3
4354
4455 - name : build release
4556 run : |
46- . $HOME/.kerl/${{ matrix.otp }}/activate
4757 env BUILD_RELEASE=1 CI_RELEASE_VERSION=${{ github.event.inputs.release_as }} ./build.sh
4858
4959 - uses : actions/upload-artifact@v3
5868 fail-fast : false
5969 matrix :
6070 builder :
61- - 5.3-8 :1.15.7-25.3.2-2
62- - 5.3-8 :1.15.7-26.2.5 -2
71+ - 5.4-4 :1.15.7-26.2.5.2-3
72+ - 5.4-4 :1.17.3-27.2 -2
6373 arch :
6474 - amd64
6575 - arm64
@@ -75,12 +85,13 @@ jobs:
7585 - el8
7686 - el9
7787 - alpine3.15.1
88+
7889 runs-on : ubuntu-latest
7990 env :
8091 IMAGE : ghcr.io/emqx/emqx-builder/${{ matrix.builder }}-${{ matrix.os }}
8192
8293 steps :
83- - uses : actions/checkout@v3
94+ - uses : actions/checkout@v4
8495 with :
8596 submodules : recursive
8697 fetch-depth : 0
@@ -116,7 +127,7 @@ jobs:
116127 - linux
117128 if : startsWith(github.ref, 'refs/tags/') || inputs.release_as
118129 steps :
119- - uses : actions/download-artifact@v3
130+ - uses : actions/download-artifact@v4
120131 with :
121132 name : packages
122133 path : packages
0 commit comments