-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'canonical/master' into bundled-raft-only
- Loading branch information
Showing
33 changed files
with
437 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI Tests (no liblz4) | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -y libsqlite3-dev libuv1-dev | ||
sudo apt remove -y liblz4-dev | ||
- name: Build dqlite (liblz4 not present) | ||
run: | | ||
autoreconf -i | ||
./configure --enable-build-raft | ||
make -j$(nproc) | ||
make clean | ||
- name: Build dqlite (liblz4 requested and not present) | ||
run: | | ||
autoreconf -i | ||
! ./configure --enable-build-raft --with-lz4 | ||
- name: Install liblz4 | ||
run: | | ||
sudo apt install liblz4-dev | ||
- name: Build dqlite (liblz4 present but ignored) | ||
run: | | ||
./configure --enable-build-raft --without-lz4 | ||
make -j$(nproc) | ||
! ldd .libs/libdqlite.so | grep lz4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI Tests (musl build) | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt install -y build-essential automake libtool gettext autopoint tclsh tcl libsqlite3-dev pkg-config git | ||
- name: Build and test | ||
env: | ||
LIBDQLITE_TRACE: 1 | ||
run: | | ||
contrib/build-static.sh || (cat ./test-suite.log && false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.