Skip to content

Commit

Permalink
change apt package dependency for building microcluster
Browse files Browse the repository at this point in the history
libdqlite-dev introduced dependency to libraft-canonical-dev which is
more advanced than libraft-dev.
  • Loading branch information
gboutry committed Feb 9, 2024
1 parent 2f7257f commit 60d7875
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test-golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sunbeam-microcluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 60d7875

Please sign in to comment.