9494 macos :
9595 - macos-15
9696 otp :
97- - 27.2-3
97+ - 27
9898
9999 runs-on : ${{ matrix.macos }}
100100
@@ -103,42 +103,21 @@ jobs:
103103 with :
104104 fetch-depth : 0
105105 - name : prepare
106- run : |
107- brew install curl zip unzip gnu-sed kerl unixodbc freetds openssl
108- echo "/usr/local/bin" >> $GITHUB_PATH
109- git config --global credential.helper store
110- - uses : actions/cache@v4
111- id : cache
112- with :
113- path : ~/.kerl
114- key : otp-${{ matrix.otp }}-${{ matrix.macos }}
115- - name : build erlang
116- if : steps.cache.outputs.cache-hit != 'true'
117- timeout-minutes : 60
118106 env :
119107 OTP : ${{ matrix.otp }}
120108 run : |
121- set -eux
122- kerl delete build $OTP || true
123- kerl delete installation $OTP || true
124- rm -rf $HOME/.kerl/$OTP
125- export KERL_CONFIGURE_OPTIONS="--disable-hipe --disable-jit --disable-dynamic-ssl-lib --with-ssl=$(brew --prefix openssl)"
126- export MAKEFLAGS=-j$(nproc)
127- kerl build git https://github.com/emqx/otp.git OTP-$OTP $OTP
128- kerl install $OTP $HOME/.kerl/$OTP
109+ brew install curl zip unzip gnu-sed kerl unixodbc freetds erlang@$OTP
110+ echo "/usr/local/bin" >> $GITHUB_PATH
111+ git config --global credential.helper store
129112 - name : build
130113 env :
131- OTP : ${{ matrix.otp }}
132114 APPLE_ID : ${{ secrets.APPLE_ID }}
133115 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
134116 APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
135117 APPLE_DEVELOPER_IDENTITY : ${{ secrets.APPLE_DEVELOPER_IDENTITY }}
136118 APPLE_DEVELOPER_ID_BUNDLE : ${{ secrets.APPLE_DEVELOPER_ID_BUNDLE }}
137119 APPLE_DEVELOPER_ID_BUNDLE_PASSWORD : ${{ secrets.APPLE_DEVELOPER_ID_BUNDLE_PASSWORD }}
138- QUICER_TLS_VER : openssl3
139120 run : |
140- . $HOME/.kerl/$OTP/activate
141- export QUICER_TLS_VER
142121 make
143122 - if : failure()
144123 run : cat rebar3.crashdump
0 commit comments