diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b786d4a38..2cbb62778 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,34 +15,34 @@ jobs: strategy: matrix: - otp_version: [23, 24, 26] - os: [ubuntu-20.04] # latest only runs >= 24.2 + otp_version: [26, 27, 28] + os: [ubuntu-latest] container: image: erlang:${{ matrix.otp_version }} steps: - - uses: actions/checkout@v2 - - name: Compile - run: rebar3 compile - - name: CT tests - run: rebar3 ct - - name: Xref - run: rebar3 xref - - name: Dialyzer - run: rebar3 dialyzer + - uses: actions/checkout@v2 + - name: Compile + run: rebar3 compile + - name: CT tests + run: rebar3 ct + - name: Xref + run: rebar3 xref + - name: Dialyzer + run: rebar3 dialyzer macos: name: Test on MacOS runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - name: Install Erlang - run: brew install erlang - - name: Install rebar3 - run: | - wget https://s3.amazonaws.com/rebar3/rebar3 - chmod +x rebar3 - - name: CT tests - run: ./rebar3 ct + - uses: actions/checkout@v2 + - name: Install Erlang + run: brew install erlang + - name: Install rebar3 + run: | + wget https://s3.amazonaws.com/rebar3/rebar3 + chmod +x rebar3 + - name: CT tests + run: ./rebar3 ct diff --git a/priv/templates/extended_bin b/priv/templates/extended_bin index d01964a70..dd3f71fb3 100644 --- a/priv/templates/extended_bin +++ b/priv/templates/extended_bin @@ -227,7 +227,7 @@ find_erl_call() { # only OTP-23 and above have erl_call in the erts bin directory # and only those versions have the features and bug fixes needed # to work properly with this script - __erl_call="$ERTS_DIR/bin/erl_call" + __erl_call="$ERTS_DIR/bin/erl_call -fetch_stdout" if [ -f "$__erl_call" ]; then ERL_RPC="$__erl_call"; else