Skip to content

Commit

Permalink
Run CI against redis 5.0,6.0,6.2 and unstable - fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
moticless committed Oct 12, 2023
1 parent 7254c45 commit 3690060
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,27 @@ jobs:
shell: bash

- name: Build and test project vs. redis-unstable
- name: Test librdb vs. redis-5.0
run: |
pushd ~/redis
git checkout unstable
git checkout 5.0
make distclean
make -j 4 -C ~/redis
make -C ~/redis/tests/modules
popd
export LIBRDB_REDIS_FOLDER=~/redis/src
make all example valgrind
make test
sleep 10000
working-directory: ${{github.workspace}}

- name: Test project vs. redis-5.0
- name: Build and test librdb vs. redis-unstable
run: |
pushd ~/redis
git checkout 5.0
make distclean
git checkout unstable
make -j 4 -C ~/redis
make -C ~/redis/tests/modules
popd
export LIBRDB_REDIS_FOLDER=~/redis/src
make test
make all example valgrind
working-directory: ${{github.workspace}}

build-clang:
Expand Down Expand Up @@ -77,26 +78,27 @@ jobs:
git clone https://github.com/redis/redis.git ~/redis
shell: bash

- name: Build and test project vs. redis-6.2
- name: Test librdb vs. redis-6.0
run: |
# clang is more strict to shared-obj versioning. Satisfy its needs.
pushd ~/redis
git checkout 6.2
git checkout 6.0
make distclean
make -j 4 -C ~/redis
make -C ~/redis/tests/modules
popd
export LIBRDB_REDIS_FOLDER=~/redis/src
make test
make clean debug test
working-directory: ${{github.workspace}}

- name: Test project vs. redis-6.0
- name: Build and test librdb vs. redis-6.2
run: |
# clang is more strict to shared-obj versioning. Satisfy its needs.
pushd ~/redis
git checkout 6.0
make distclean
git checkout 6.2
make -j 4 -C ~/redis
make -C ~/redis/tests/modules
popd
export LIBRDB_REDIS_FOLDER=~/redis/src
make test
make clean debug test
working-directory: ${{github.workspace}}

0 comments on commit 3690060

Please sign in to comment.