From cc82d5e5571b2131438941585afe7db90bea2170 Mon Sep 17 00:00:00 2001 From: Jerzy Jamroz Date: Tue, 25 Jun 2024 11:26:21 +0200 Subject: [PATCH] ci: Linux build with kernel 6.x added. --- .github/workflows/linux-build.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index a6e7c5dfb..a38221ead 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -21,16 +21,21 @@ jobs: fail-fast: false matrix: include: - - name: Ubuntu 20.04 - Series 4.x - os: ubuntu-20.04 + - name: Ubuntu 22.04 - Series 4.x + os: ubuntu-22.04 series: 4.x version: 4.9.1 - - name: Ubuntu 20.04 - Series 5.x - os: ubuntu-20.04 + - name: Ubuntu 22.04 - Series 5.x + os: ubuntu-22.04 series: 5.x version: 5.9.6 + - name: Ubuntu 22.04 - Series 6.x + os: ubuntu-22.04 + series: 6.x + version: 6.5.9 + steps: - uses: actions/checkout@v2 - name: Info @@ -53,15 +58,16 @@ jobs: fi echo "https://cdn.kernel.org/pub/linux/kernel/v$KSER/linux-$KVER.tar.xz" curl -s https://cdn.kernel.org/pub/linux/kernel/v$KSER/linux-$KVER.tar.xz | tar -C kernel --strip-components=1 -xJ - make -C kernel CC=${CC:=gcc} defconfig - make -C kernel CC=${CC:=gcc} modules_prepare + KBUILD_MODPOST_WARN=1 make -C kernel CC=${CC:=gcc} defconfig + KBUILD_MODPOST_WARN=1 make -C kernel CC=${CC:=gcc} modules_prepare + KBUILD_MODPOST_WARN=1 make -C kernel CC=${CC:=gcc} modules - name: Build run: | - make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" + KBUILD_MODPOST_WARN=1 make -C mrmShared/linux CC=${CC:=gcc} KERNELDIR="$PWD/kernel" host: name: With VM host - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Info