From a761b9f0d06a32c47fadfaf5c2b1e7ecff2274c8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 16 Jan 2023 14:59:38 +0100 Subject: github: Build for multiple kernel versions --- .github/workflows/build-kernel-modules.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-kernel-modules.yml b/.github/workflows/build-kernel-modules.yml index a5df8ae..f200fc3 100644 --- a/.github/workflows/build-kernel-modules.yml +++ b/.github/workflows/build-kernel-modules.yml @@ -3,7 +3,7 @@ name: Build xloop kernel modules on: push: branches: - - linux-5.15.y + - master pull_request: release: @@ -13,10 +13,22 @@ jobs: fail-fast: false matrix: config: + - name: kernel modules [Linux kernel 5.4.x] + build-os: ubuntu-20.04 + kernel-type: vanilla + kernel-version: 5.4.y + - name: kernel modules [Linux kernel 5.10.x] + build-os: ubuntu-20.04 + kernel-type: vanilla + kernel-version: 5.10.y - name: kernel modules [Linux kernel 5.15.x] build-os: ubuntu-20.04 kernel-type: vanilla kernel-version: 5.15.y + - name: kernel modules [Linux kernel 6.1.x] + build-os: ubuntu-22.04 + kernel-type: vanilla + kernel-version: 6.1.y name: Build xloop ${{ matrix.config.name }} runs-on: ${{ matrix.config.build-os }} steps: @@ -60,4 +72,4 @@ jobs: -D KERNEL_SCRIPTS_DIR=${{ github.workspace }}/../kernel/scripts - name: Build xloop kernel modules working-directory: ${{ github.workspace }}/build - run: make + run: make xloop xloop_file_fmt_qcow xloop_file_fmt_raw -- cgit v1.2.3-55-g7522