From 60d787586b79abb75407646fb2e36bda60788e6c Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Fri, 9 Feb 2024 14:51:24 +0100 Subject: [PATCH] change apt package dependency for building microcluster libdqlite-dev introduced dependency to libraft-canonical-dev which is more advanced than libraft-dev. --- .github/workflows/build-golang.yml | 2 +- .github/workflows/test-golang.yml | 4 ++-- sunbeam-microcluster/README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-golang.yml b/.github/workflows/build-golang.yml index 969a773c..8db84ec4 100644 --- a/.github/workflows/build-golang.yml +++ b/.github/workflows/build-golang.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | sudo add-apt-repository -y ppa:dqlite/dev - sudo apt install build-essential dqlite-tools libdqlite-dev libraft-dev -y + sudo apt install build-essential dqlite-tools libdqlite-dev libraft-canonical-dev -y - name: Build binary working-directory: ./sunbeam-microcluster run: make build diff --git a/.github/workflows/test-golang.yml b/.github/workflows/test-golang.yml index 59682425..6d978c83 100644 --- a/.github/workflows/test-golang.yml +++ b/.github/workflows/test-golang.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | sudo add-apt-repository -y ppa:dqlite/dev - sudo apt install build-essential dqlite-tools libdqlite-dev libraft-dev -y + sudo apt install build-essential dqlite-tools libdqlite-dev libraft-canonical-dev -y - name: Run linters working-directory: ./sunbeam-microcluster run: make check-static @@ -35,7 +35,7 @@ jobs: - name: Install dependencies run: | sudo add-apt-repository -y ppa:dqlite/dev - sudo apt install build-essential dqlite-tools libdqlite-dev libraft-dev -y + sudo apt install build-essential dqlite-tools libdqlite-dev libraft-canonical-dev -y - name: Run tests working-directory: ./sunbeam-microcluster run: make check-unit diff --git a/sunbeam-microcluster/README.md b/sunbeam-microcluster/README.md index 8576b3ab..1d97e6b7 100644 --- a/sunbeam-microcluster/README.md +++ b/sunbeam-microcluster/README.md @@ -10,7 +10,7 @@ sqlite compatible database for shared state across the Sunbeam cluster. This requires a few dependencies to be installed: sudo add-apt-repository -y ppa:dqlite/dev - sudo apt install gcc make dqlite-tools libdqlite-dev libraft-dev -y + sudo apt install gcc make dqlite-tools libdqlite-dev libraft-canonical-dev -y sudo snap install --channel 1.21 --classic go after which is possible to build sunbeam-microcluster: