From b5359f1b6582185f6a77afa2ded24250c7d2392d Mon Sep 17 00:00:00 2001 From: Ping Cheng Date: Wed, 26 Jun 2024 13:21:55 -0700 Subject: [PATCH] Update workflow kernel versions Remove kernels older than 4.18 and add newer ones Signed-off-by: Ping Cheng --- .github/workflows/checkpatch.yml | 5 ++--- .github/workflows/main.yml | 36 +++++++------------------------- 2 files changed, 10 insertions(+), 31 deletions(-) diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml index c9451d70..6be1bc38 100644 --- a/.github/workflows/checkpatch.yml +++ b/.github/workflows/checkpatch.yml @@ -1,15 +1,14 @@ on: pull_request: paths: - - '3.17/**' - - '4.5/**' + - '4.18/**' permissions: contents: read jobs: checkpatch: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout the repo uses: actions/checkout@v1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1f67f57..d22164c3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,41 +9,21 @@ env: jobs: compile: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: - kernel: ["6.3", "5.10", "4.19", "4.14", "4.10", "4.6", "4.5", "4.2", "4.1", "3.19", "3.18", "3.17"] + kernel: ["6.3", "5.15", "5.10", "5.4", "5.0", "4.19"] include: - - kernel: "3.17" - compile_cflags: -fno-pie -Wno-error=format-truncation - prepare_cflags: -fno-pie -no-pie - - kernel: "3.18" - compile_cflags: -fno-pie -Wno-error=format-truncation - prepare_cflags: -fno-pie -no-pie - - kernel: "3.19" - compile_cflags: -fno-pie -Wno-error=format-truncation - prepare_cflags: -fno-pie -no-pie - - kernel: "4.1" - compile_cflags: -fno-pie -Wno-error=format-truncation - prepare_cflags: -fno-pie -no-pie - - kernel: "4.2" - compile_cflags: -fno-pie -Wno-error=format-truncation - prepare_cflags: -fno-pie -no-pie - - kernel: "4.5" - compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign - prepare_cflags: -fno-pie -no-pie - - kernel: "4.6" - compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign - prepare_cflags: -fno-pie -no-pie - - kernel: "4.10" - compile_cflags: -fno-pie -Wno-error=format-truncation -Wno-error=pointer-sign - prepare_cflags: -fno-pie -no-pie - - kernel: "4.14" - compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign - kernel: "4.19" compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign + - kernel: "5.0" + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign + - kernel: "5.4" + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign - kernel: "5.10" compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign + - kernel: "5.15" + compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign - kernel: "6.3" compile_cflags: -Wno-error=format-truncation -Wno-error=pointer-sign build_makeflags: KBUILD_MODPOST_WARN=1