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 40e831e
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,28 @@ 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] }}

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- 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: Install toolchain
id: tc
uses: actions-rs/toolchain@v1
Expand All @@ -55,12 +72,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 40e831e

Please sign in to comment.