Skip to content

Commit 4ba76d0

Browse files
committed
test
1 parent cbad3c2 commit 4ba76d0

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

.github/workflows/run-xfstest.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build and Run xfstest
2+
3+
on:
4+
push:
5+
branches: [ "*" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build-and-run-xfstest:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: checkout myself
16+
uses: actions/checkout@v4
17+
with:
18+
path: fuse-kernel-modules
19+
- name: checkout xfstests
20+
uses: actions/checkout@v4
21+
with:
22+
repository: kdave/xfstests
23+
path: xfstests
24+
- name: checkout libfuse
25+
uses: actions/checkout@v4
26+
with:
27+
repository: libfuse/libfuse
28+
path: libfuse
29+
- name: Install build dependencies
30+
run: |
31+
sudo apt update
32+
sudo apt install acl attr automake bc dbench dump e2fsprogs fio gawk \
33+
gcc git indent libacl1-dev libaio-dev libcap-dev libgdbm-dev libtool \
34+
libtool-bin liburing-dev libuuid1 lvm2 make psmisc python3 quota sed \
35+
uuid-dev uuid-runtime xfsprogs linux-headers-$(uname -r) sqlite3 \
36+
libgdbm-compat-dev
37+
sudo apt install meson g++ exfatprogs f2fs-tools ocfs2-tools udftools \
38+
xfsdump xfslibs-dev
39+
- name: Build xfstest
40+
run: |
41+
pushd xfstests
42+
make
43+
popd
44+
- name: Build kernel modules
45+
run: |
46+
pushd fuse-kernel-modules/src
47+
./build
48+
popd
49+
- name: Build libfuse
50+
run: |
51+
mkdir build
52+
pushd build
53+
meson ../libfuse
54+
ninja
55+
popd

src/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ KSRC[2]='5.14.0-570.26.1.el9_6'
1414
# RHEL 10.0
1515
KVER[3]='6.12.0-55\..*\.el10_0'
1616
KSRC[3]='6.12.0'
17+
# Github
18+
KVER[0]='6.11.0-.*-azure'
19+
KSRC[0]='6.8.0-ubuntu'
1720

1821
command=$1
1922
if [ -z "${command}" ]; then

0 commit comments

Comments
 (0)