Skip to content

Commit

Permalink
Update workflow kernel versions
Browse files Browse the repository at this point in the history
Remove kernels older than 4.18 and add newer ones

Signed-off-by: Ping Cheng <[email protected]>
  • Loading branch information
Ping Cheng committed Jun 27, 2024
1 parent 1e35698 commit 3054e7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 31 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/checkpatch.yml
Original file line number Diff line number Diff line change
@@ -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-22.04
steps:
- name: Checkout the repo
uses: actions/checkout@v1
Expand Down
36 changes: 8 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,21 @@ env:

jobs:
compile:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.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
Expand Down

0 comments on commit 3054e7c

Please sign in to comment.