You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2024/01/25 14:58:26 UTC

(couchdb-fast-pbkdf2) 11/40: Test in OTP24

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fast-pbkdf2.git

commit 5318fa975dc1236e0d0612fcecd497357c2175de
Author: Nelson Vides <vi...@gmail.com>
AuthorDate: Wed May 12 18:26:02 2021 +0200

    Test in OTP24
---
 .github/workflows/ci.yml | 14 ++++++++------
 Makefile                 |  7 ++++++-
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a1b49db..285b205 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,8 +12,10 @@ jobs:
     name: OTP ${{matrix.otp}}
     strategy:
       matrix:
-        otp: ['23.2', '22.3', '21.3']
+        otp: ['24.0', '23.3', '22.3', '21.3']
     runs-on: 'ubuntu-20.04'
+    env:
+      OTPVER: ${{ matrix.otp }}
     steps:
       - uses: actions/checkout@v2
       - uses: ErlGang/setup-erlang@v1.0.0
@@ -23,12 +25,12 @@ jobs:
       - run: make deps
       - run: make test
       - run: make dialyzer
-        if: ${{ matrix.otp == '23.2' }}
+        if: ${{ matrix.otp == '24.0' }}
       - run: make codecov
-        if: ${{ matrix.otp == '23.2' }}
+        if: ${{ matrix.otp == '24.0' }}
       - run: make gcov
-        if: ${{ matrix.otp == '23.2' }}
+        if: ${{ matrix.otp == '24.0' }}
       - run: pip install --user codecov
-        if: ${{ matrix.otp == '23.2' }}
+        if: ${{ matrix.otp == '24.0' }}
       - run: /home/runner/.local/bin/codecov
-        if: ${{ matrix.otp == '23.2' }}
+        if: ${{ matrix.otp == '24.0' }}
diff --git a/Makefile b/Makefile
index 8138f3f..b4457cc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
 .PHONY: rel deps test
 
+REBARVER = 3.13.2
+ifeq ($(OTPVER),24.0)
+	REBARVER = 3.15.1
+endif
+
 all: deps compile
 
 compile: rebar3
@@ -27,7 +32,7 @@ gcov: test-compile
 	gcov -o c_src fast_pbkdf2
 
 rebar3:
-	wget https://github.com/erlang/rebar3/releases/download/3.13.2/rebar3 &&\
+	wget https://github.com/erlang/rebar3/releases/download/${REBARVER}/rebar3 &&\
 	chmod u+x rebar3
 
 dialyzer: rebar3