diff --git a/.github/workflows/build-check_aarch64.yml b/.github/workflows/build-check_aarch64.yml index bac69b97a98d6..a09aec359d96b 100644 --- a/.github/workflows/build-check_aarch64.yml +++ b/.github/workflows/build-check_aarch64.yml @@ -32,3 +32,8 @@ jobs: cp configs/kernel-aarch64-rhel.config .config make ARCH=arm64 CROSS_COMPILE=./scripts/dummy-tools/ olddefconfig make -j8 + - name: Check kabi + run: | + git clone --branch r9 --single-branch https://git.rockylinux.org/staging/rpms/kernel.git kernel-dist-git + git -C kernel-dist-git reset --hard imports/r9/kernel-5.14.0-284.30.1.el9_2 + ./kernel-dist-git/SOURCES/check-kabi -k ./kernel-dist-git/SOURCES/Module.kabi_aarch64 -s Module.symvers diff --git a/.github/workflows/build-check_x86_64.yml b/.github/workflows/build-check_x86_64.yml index 182d25d8d76f0..329b48c253451 100644 --- a/.github/workflows/build-check_x86_64.yml +++ b/.github/workflows/build-check_x86_64.yml @@ -32,3 +32,8 @@ jobs: cp configs/kernel-x86_64-rhel.config .config make ARCH=x86_64 CROSS_COMPILE=./scripts/dummy-tools/ olddefconfig make -j8 + - name: Check kabi + run: | + git clone --branch r9 --single-branch https://git.rockylinux.org/staging/rpms/kernel.git kernel-dist-git + git -C kernel-dist-git reset --hard imports/r9/kernel-5.14.0-284.30.1.el9_2 + ./kernel-dist-git/SOURCES/check-kabi -k ./kernel-dist-git/SOURCES/Module.kabi_x86_64 -s Module.symvers