diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 824e0aa3..ee681cc8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,24 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + + - name: Checkout redis sources + uses: actions/checkout@v4 + with: + submodules: recursive + repository: redis/redis + ref: ${{ matrix.redis-version[1] }} + path: redis + + - name: Install redis + run: | + export HOMEBREW_NO_AUTO_UPDATE=1 + cd redis + make -j + ./src/redis-server --version + make install PREFIX=/usr/local + redis-server --version + - name: Setup python uses: actions/setup-python@v5 with: @@ -55,12 +73,6 @@ jobs: cargo fmt --all -- --check cargo clippy --all-targets --no-default-features --features min-redis-compatibility-version-${{ matrix.redis-version[0] }} - - name: Install redis - run: | - export HOMEBREW_NO_AUTO_UPDATE=1 - ./deps/readies/bin/getredis -v '${{ matrix.redis-version[1] }}' --force - redis-server --version - - name: Build debug run: cargo build --no-default-features --features min-redis-compatibility-version-${{ matrix.redis-version[0] }}