Skip to content

Commit 24baf67

Browse files
committed
kabi check WIP
1 parent c9e6951 commit 24baf67

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build-check_x86_64.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@ jobs:
3232
cp configs/kernel-x86_64-rhel.config .config
3333
make ARCH=x86_64 CROSS_COMPILE=./scripts/dummy-tools/ olddefconfig
3434
make -j8
35+
- name: Check kabi
36+
run: |
37+
git clone --branch r9 --single-branch https://git.rockylinux.org/staging/rpms/kernel.git kernel-dist-git
38+
git -C kernel-dist-git reset --hard imports/r9/kernel-5.14.0-284.30.1.el9_2
39+
KABI_CHECK=$(./kernel-dist-git/SOURCES/check-kabi -k ./kernel-dist-git/SOURCES/Module.kabi_x86_64 -s Module.symvers)
40+
if [ $? -ne 0 ]; then
41+
echo "Error: kABI check failed"
42+
exit 1
43+
fi
44+
echo "kABI check passed"

0 commit comments

Comments
 (0)