From 675a308243798210353e396922f8e8421470fc33 Mon Sep 17 00:00:00 2001 From: Victor Polevoy Date: Mon, 7 Oct 2024 13:49:39 +0200 Subject: [PATCH] Install redis ourselves --- .github/workflows/ci.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) 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] }}