From 3754ab95cd9d66932119f0e2adb7c65d5ca65ce0 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Tue, 3 Sep 2024 11:36:24 -0400 Subject: [PATCH] Test dqlite fix branch Signed-off-by: Cole Miller --- .github/workflows/tests.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0d5a0b5b2bf6..ea80d98b6ee2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -254,7 +254,6 @@ jobs: - name: Install dependencies run: | set -eux - sudo add-apt-repository ppa:ubuntu-lxc/daily -y --no-update sudo add-apt-repository ppa:dqlite/dev -y --no-update sudo apt-get update @@ -266,7 +265,8 @@ jobs: libacl1-dev \ libcap-dev \ libdbus-1-dev \ - libdqlite-dev \ + liblz4-dev \ + libuv1-dev \ liblxc-dev \ libseccomp-dev \ libselinux-dev \ @@ -312,6 +312,21 @@ jobs: curl -sSfL https://dl.min.io/client/mc/release/linux-amd64/mc --output "$(go env GOPATH)/bin/mc" chmod +x "$(go env GOPATH)/bin/mc" + - name: Fetch dqlite + uses: actions/checkout@v4 + with: + repository: cole-miller/dqlite + ref: leader-pseudo-coroutines + path: dqlite + + - name: Install dqlite + run: | + cd dqlite + ./configure --enable-build-raft + make -j$(nproc) + sudo make install + sudo ldconfig + - name: Download go dependencies run: | set -eux