diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e107549..0539616 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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}} +