Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion priv/templates/extended_bin
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading