Skip to content

Commit b944fdf

Browse files
Test RISC-V CI
1 parent d2c2d0e commit b944fdf

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: riscv64-qemu-test
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
riscv:
7+
name: ubuntu-24.04-riscv
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: uraimo/run-on-arch-action@v3
12+
with:
13+
arch: riscv64
14+
distro: ubuntu24.04
15+
githubToken: ${{ github.token }}
16+
dockerRunArgs: |
17+
--volume "${PWD}:/kvrocks"
18+
--workdir /kvrocks
19+
install: |
20+
apt-get update
21+
apt-get install -y \
22+
build-essential \
23+
cmake \
24+
libgflags-dev \
25+
libsnappy-dev \
26+
zlib1g-dev \
27+
libbz2-dev \
28+
liblz4-dev \
29+
libzstd-dev \
30+
git \
31+
python3 \
32+
clang \
33+
golang \
34+
libboost-dev \
35+
libstdc++-12-dev
36+
run: |
37+
./x.py build --unittest -j4
38+
./x.py test cpp
39+
./x.py test go

0 commit comments

Comments
 (0)