File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,23 @@ jobs:
2020 - name : Configure
2121 run : ./configure.sh
2222 test :
23- name : Test project
23+ name : Test project (Redis ${{ matrix.redis-version }})
2424 runs-on : ubuntu-latest
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ redis-version :
29+ - 6.2.14
30+ - 7.0.15
2531 steps :
2632 - name : Checkout
2733 uses : actions/checkout@v2
2834 with :
2935 submodules : recursive
3036 - name : Configure
3137 run : ./configure.sh
38+ env :
39+ REDIS_VERSION : ${{ matrix.redis-version }}
3240 - name : Install valgrind
3341 run : sudo apt-get install valgrind
3442 - name : Test
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ function configure_submodules()
55 git submodule init
66 git submodule update
77 git submodule status
8+ if [ -n " ${REDIS_VERSION:- } " ]; then
9+ git -C deps/redis fetch --tags
10+ git -C deps/redis checkout " ${REDIS_VERSION} "
11+ git -C deps/redis submodule update --init --recursive
12+ fi
813}
914function amalgamate_croaring()
1015{
@@ -62,4 +67,3 @@ configure_redis
6267configure_hiredis
6368build
6469instructions
65-
You can’t perform that action at this time.
0 commit comments