Skip to content

Commit c40f65a

Browse files
committed
github actions: Add kabi checks
LE-3796 After the build check, perform a kabi check
1 parent 22cdf91 commit c40f65a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build-check_aarch64.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ jobs:
3232
cp configs/kernel-aarch64-rhel.config .config
3333
make ARCH=arm64 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+
./kernel-dist-git/SOURCES/check-kabi -k ./kernel-dist-git/SOURCES/Module.kabi_aarch64 -s Module.symvers

.github/workflows/build-check_x86_64.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,8 @@ 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+
./kernel-dist-git/SOURCES/check-kabi -k ./kernel-dist-git/SOURCES/Module.kabi_x86_64 -s Module.symvers

0 commit comments

Comments
 (0)