From afff58f564e5debfa9eb47ed7d8e0d9d31850d0d Mon Sep 17 00:00:00 2001 From: Sebastian Weddmark Olsson Date: Fri, 14 Feb 2025 23:19:54 +0100 Subject: [PATCH 1/4] test with different ubuntu versions --- .github/workflows/test.yaml | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bcf4109..4623fea 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -20,35 +20,46 @@ jobs: # ubuntu-24.04: OTP_VERSION=24.3 - 27 test: - runs-on: ubuntu-20.04 + runs-on: ${{matrix.erlang.os}} name: OTP ${{matrix.erlang.otp}} env: emacs: 27.1 strategy: matrix: erlang: - # - otp: "17" - # rebar3: "3.10.0" - # - otp: "18" - # rebar3: "3.11.1" - # - otp: "19" - # rebar3: "3.15.2" - # - otp: "20.3.8.26" - # rebar3: "3.15.2" - # - otp: "21.3.8.17" - # rebar3: "3.15.2" + - otp: "17.5.3" + rebar3: "3.10.0" + os: ubuntu-18.04 + - otp: "18.3" + rebar3: "3.11.1" + os: ubuntu-18.04 + - otp: "19.3" + rebar3: "3.15.2" + os: ubuntu-18.04 + - otp: "20.3.8.26" + rebar3: "3.15.2" + os: ubuntu-18.04 + - otp: "21.3.8.17" + rebar3: "3.15.2" + os: ubuntu-20.04 - otp: "22.3.4.9" rebar3: "3.16.1" + os: ubuntu-20.04 - otp: "23.3.4.5" rebar3: "3.16.1" + os: ubuntu-22.04 - otp: "24.3.4.17" rebar3: "3.16.1" + os: ubuntu-22.04 - otp: "25.3.2.15" rebar3: "3.22.1" + os: ubuntu-24.04 - otp: "26.2.5.5" rebar3: "3.22.1" + os: ubuntu-24.04 - otp: "27.1.2" rebar3: "3.22.1" + os: ubuntu-24.04 steps: - name: Install Emacs uses: purcell/setup-emacs@master From ad3d41b735c3b45e4288346dba117e3acf190a1c Mon Sep 17 00:00:00 2001 From: Sebastian Weddmark Olsson Date: Fri, 14 Feb 2025 23:30:06 +0100 Subject: [PATCH 2/4] ubuntu-18 no longer available --- .github/workflows/test.yaml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4623fea..f310342 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,18 +27,18 @@ jobs: strategy: matrix: erlang: - - otp: "17.5.3" - rebar3: "3.10.0" - os: ubuntu-18.04 - - otp: "18.3" - rebar3: "3.11.1" - os: ubuntu-18.04 - - otp: "19.3" - rebar3: "3.15.2" - os: ubuntu-18.04 - - otp: "20.3.8.26" - rebar3: "3.15.2" - os: ubuntu-18.04 + # - otp: "17.5.3" + # rebar3: "3.10.0" + # os: ubuntu-18.04 + # - otp: "18.3" + # rebar3: "3.11.1" + # os: ubuntu-18.04 + # - otp: "19.3" + # rebar3: "3.15.2" + # os: ubuntu-18.04 + # - otp: "20.3.8.26" + # rebar3: "3.15.2" + # os: ubuntu-18.04 - otp: "21.3.8.17" rebar3: "3.15.2" os: ubuntu-20.04 @@ -72,6 +72,7 @@ jobs: with: otp-version: ${{matrix.erlang.otp}} rebar3-version: ${{matrix.erlang.rebar3}} + version-type: strict install-hex: false - name: Add Erlang to Path @@ -79,7 +80,7 @@ jobs: echo "ERL_PATH=/usr/lib/erlang" >> $GITHUB_ENV - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true From ac22523265f0c4e61a5e3193550d788364ebe8d7 Mon Sep 17 00:00:00 2001 From: Sebastian Weddmark Olsson Date: Fri, 14 Feb 2025 23:33:08 +0100 Subject: [PATCH 3/4] unstrict OTP versions --- .github/workflows/test.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f310342..f9ce57a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -39,25 +39,25 @@ jobs: # - otp: "20.3.8.26" # rebar3: "3.15.2" # os: ubuntu-18.04 - - otp: "21.3.8.17" + - otp: "21.3" rebar3: "3.15.2" os: ubuntu-20.04 - - otp: "22.3.4.9" + - otp: "22.3" rebar3: "3.16.1" os: ubuntu-20.04 - - otp: "23.3.4.5" + - otp: "23.3" rebar3: "3.16.1" os: ubuntu-22.04 - - otp: "24.3.4.17" + - otp: "24.3" rebar3: "3.16.1" os: ubuntu-22.04 - - otp: "25.3.2.15" + - otp: "25.3" rebar3: "3.22.1" os: ubuntu-24.04 - - otp: "26.2.5.5" + - otp: "26.2" rebar3: "3.22.1" os: ubuntu-24.04 - - otp: "27.1.2" + - otp: "27.1" rebar3: "3.22.1" os: ubuntu-24.04 steps: @@ -72,7 +72,6 @@ jobs: with: otp-version: ${{matrix.erlang.otp}} rebar3-version: ${{matrix.erlang.rebar3}} - version-type: strict install-hex: false - name: Add Erlang to Path From d9eff73d80a78595a24b40147cce66c16121325d Mon Sep 17 00:00:00 2001 From: Sebastian Weddmark Olsson Date: Sat, 15 Feb 2025 00:15:55 +0100 Subject: [PATCH 4/4] try ubuntu20 for otp23 --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f9ce57a..f3f27f2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -47,7 +47,7 @@ jobs: os: ubuntu-20.04 - otp: "23.3" rebar3: "3.16.1" - os: ubuntu-22.04 + os: ubuntu-20.04 - otp: "24.3" rebar3: "3.16.1" os: ubuntu-22.04