From 6c8f4e2217126ff47ee14088ff03d8b200a7db72 Mon Sep 17 00:00:00 2001 From: Bryan Paxton <39971740+starbelly@users.noreply.github.com> Date: Mon, 26 May 2025 10:04:57 -0500 Subject: [PATCH 1/3] Use -fetch_stdout with erl_call to support printing of unicode --- priv/templates/extended_bin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 0e4af164aa09dc8a04a569607ddf3562ded53a4c Mon Sep 17 00:00:00 2001 From: Bryan Paxton <39971740+starbelly@users.noreply.github.com> Date: Mon, 26 May 2025 17:47:27 -0500 Subject: [PATCH 2/3] Update Erlang CI matrix --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b786d4a38..4c7ec8271 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - otp_version: [23, 24, 26] + otp_version: [26, 27, 28] os: [ubuntu-20.04] # latest only runs >= 24.2 container: From e42520ea7801924100a60a9c7f018fa1d7d03840 Mon Sep 17 00:00:00 2001 From: Bryan Paxton <39971740+starbelly@users.noreply.github.com> Date: Tue, 27 May 2025 07:06:03 -0500 Subject: [PATCH 3/3] Use ubuntu-latest --- .github/workflows/main.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c7ec8271..2cbb62778 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,33 +16,33 @@ jobs: strategy: matrix: otp_version: [26, 27, 28] - os: [ubuntu-20.04] # latest only runs >= 24.2 + 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