Skip to content

Commit

Permalink
Test latest liblz4 too
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed May 22, 2024
1 parent 78ea7ac commit 07b586f
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/latest-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ jobs:
sysctl fs.aio-max-nr
sudo sysctl -w fs.aio-max-nr=1000000
- name: Purge distro libuv
run: |
sudo apt remove libuv1
- name: Install liblz4
run: |
sudo apt install liblz4-dev
- name: Install latest libuv
run: |
version="$(curl -L 'https://dist.libuv.org/dist' | grep -o 'v[0-9]\.[0-9]\{1,2\}\.[0-9]\{1,2\}' | sort -V -r | head -n1)"
Expand All @@ -35,6 +27,22 @@ jobs:
./configure
make -j4
sudo make install
- name: Install latest liblz4
run: |
mkdir lz4
cd lz4
git init
git remote add github 'https://github.com/lz4/lz4'
git fetch github 'refs/tags/*:refs/tags/*'
version="$(git tag | sort -V -r | head -n1)"
echo "Selected lz4 $version"
git checkout "$version"
make -j4
sudo make install
- name: ldconfig
run: |
sudo ldconfig
- name: Get latest SQLite
Expand All @@ -57,6 +65,7 @@ jobs:
raft-core-unit-test \
raft-uv-integration-test \
raft-uv-unit-test
ldd .libs/libdqlite.so
- name: Test
run: |
Expand Down

0 comments on commit 07b586f

Please sign in to comment.