Skip to content

Commit

Permalink
ci: Linux build with kernel 6.x added.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerzyjamroz committed Jun 25, 2024
1 parent 7cfc28b commit cc82d5e
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit cc82d5e

Please sign in to comment.