-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unstable' into rocksdb_threads
- Loading branch information
Showing
9 changed files
with
39 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check typos | ||
uses: crate-ci/[email protected].4 | ||
uses: crate-ci/[email protected].5 | ||
with: | ||
config: .github/config/typos.toml | ||
|
||
|
@@ -443,6 +443,10 @@ jobs: | |
- name: Debian 12 | ||
image: debian:12 | ||
compiler: gcc | ||
- name: Alpine 3 | ||
image: alpine:3 | ||
compiler: gcc | ||
disable_jemalloc: -DDISABLE_JEMALLOC=ON | ||
|
||
runs-on: ubuntu-22.04 | ||
container: | ||
|
@@ -498,6 +502,13 @@ jobs: | |
apt install -y bash build-essential cmake curl git libssl-dev libtool python3 python3-pip wget | ||
echo "NPROC=$(nproc)" >> $GITHUB_ENV | ||
- name: Setup Alpine | ||
if: ${{ startsWith(matrix.image, 'alpine') }} | ||
run: | | ||
apk update | ||
apk add bash cmake curl git python3 wget make gcc g++ autoconf linux-headers py3-pip py3-redis | ||
echo "NPROC=$(nproc)" >> $GITHUB_ENV | ||
- name: Cache redis | ||
id: cache-redis | ||
uses: actions/cache@v4 | ||
|
@@ -533,7 +544,7 @@ jobs: | |
|
||
- name: Build Kvrocks | ||
run: | | ||
./x.py build -j$NPROC --unittest --compiler ${{ matrix.compiler }} | ||
./x.py build -j$NPROC --unittest --compiler ${{ matrix.compiler }} ${{ matrix.disable_jemalloc }} | ||
- name: Run Unit Test | ||
run: | | ||
|
@@ -546,7 +557,7 @@ jobs: | |
./x.py test go build $GOCASE_RUN_ARGS | ||
- name: Install redis-py for openSUSE and Rocky | ||
if: ${{ !startsWith(matrix.image, 'archlinux') && !startsWith(matrix.image, 'debian') }} | ||
if: ${{ !startsWith(matrix.image, 'archlinux') && !startsWith(matrix.image, 'debian') && !startsWith(matrix.image, 'alpine') }} | ||
run: pip3 install redis==4.3.6 | ||
|
||
- name: Install redis-py for Debian | ||
|
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 |
---|---|---|
|
@@ -20,7 +20,6 @@ | |
|
||
#pragma once | ||
|
||
#include <execinfo.h> | ||
#include <glog/logging.h> | ||
#include <signal.h> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
#pragma once | ||
|
||
#include <rocksdb/status.h> | ||
#include <sys/time.h> | ||
|
||
#include <atomic> | ||
#include <bitset> | ||
|
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