Skip to content

Commit

Permalink
Install redis ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed Oct 7, 2024
1 parent 1136a52 commit 675a308
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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] }}

Expand Down

0 comments on commit 675a308

Please sign in to comment.