From eef14681a132072d901b63aa8e8180ab0eaa6208 Mon Sep 17 00:00:00 2001 From: Feng Shuo Date: Sun, 7 Jun 2026 11:46:06 +0800 Subject: [PATCH 1/3] workflow: add kernel build check for Ubuntu x86_64 (cherry picked from commit 0b1e41a73b0f4c0b8cafe3be41f7b34b495b6a61) --- .github/workflows/build-check_x86_64.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build-check_x86_64.yml diff --git a/.github/workflows/build-check_x86_64.yml b/.github/workflows/build-check_x86_64.yml new file mode 100644 index 00000000000000..4030aab1796ddc --- /dev/null +++ b/.github/workflows/build-check_x86_64.yml @@ -0,0 +1,24 @@ +name: x86_64 CI +on: + pull_request: + branches: + - '**' + - '!mainline' + +jobs: + kernel-build-job: + runs-on: ubuntu-latest + steps: + - name: Install tools and Libraries + run: | + sudo apt update + sudo apt install -y build-essential libssl-dev ccache bison flex libelf-dev bc cpio libdw-dev + - name: Checkout code + uses: actions/checkout@v6 + - name: Build the Kernel + run: | + debian/scripts/misc/annotations --arch amd64 --export >.config + scripts/config --disable SYSTEM_TRUSTED_KEYS + scripts/config --disable SYSTEM_REVOCATION_KEYS + make olddefconfig + make -j $(nproc) From 2bc5a3c1cdc90174b05b77885078288f98a25c4b Mon Sep 17 00:00:00 2001 From: Feng Shuo Date: Sun, 7 Jun 2026 17:10:15 +0800 Subject: [PATCH 2/3] workflow: add kernel build check for Ubuntu aarch64 (cherry picked from commit d591193a3d36b6b189a2a49255552746271e4fd6) --- .github/workflows/build-check_aarch64.yml | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build-check_aarch64.yml diff --git a/.github/workflows/build-check_aarch64.yml b/.github/workflows/build-check_aarch64.yml new file mode 100644 index 00000000000000..60299da7710bc6 --- /dev/null +++ b/.github/workflows/build-check_aarch64.yml @@ -0,0 +1,24 @@ +name: aarch64 CI +on: + pull_request: + branches: + - '**' + - '!mainline' + +jobs: + kernel-build-job: + runs-on: ubuntu-24.04-arm + steps: + - name: Install tools and Libraries + run: | + sudo apt update + sudo apt install -y build-essential libssl-dev ccache bison flex libelf-dev bc cpio libdw-dev + - name: Checkout code + uses: actions/checkout@v6 + - name: Build the Kernel + run: | + debian/scripts/misc/annotations --arch arm64 --export >.config + scripts/config --disable SYSTEM_TRUSTED_KEYS + scripts/config --disable SYSTEM_REVOCATION_KEYS + make olddefconfig + make -j $(nproc) From 69d509705ad65c3fab1058d9ba0635c54fefdc48 Mon Sep 17 00:00:00 2001 From: Feng Shuo Date: Sun, 7 Jun 2026 17:20:09 +0800 Subject: [PATCH 3/3] workflow: update the support for 6.17 kernel (cherry picked from commit f674a981e8965b823ed41dba1de93efff0966f3f) --- .github/workflows/create-redfs-pr.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-redfs-pr.yml b/.github/workflows/create-redfs-pr.yml index cc03d7e1219e9b..12e9c39c936276 100644 --- a/.github/workflows/create-redfs-pr.yml +++ b/.github/workflows/create-redfs-pr.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest steps: # Checks-out to a different directory to avoid following checkout removing it. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: path: linux - name: Try to checkout sync-${{ github.ref_name }} if it exists - uses: actions/checkout@v4 + uses: actions/checkout@v6 id: try-checkout continue-on-error: true with: @@ -29,7 +29,7 @@ jobs: - name: Fallback to checkout main if: steps.try-checkout.outcome == 'failure' - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: DDNStorage/redfs ref: main @@ -56,6 +56,7 @@ jobs: MAP["redfs-rhel9_5-503.40.1"]="5.14.0-503.40.1.el9_5" MAP["redfs-rhel9_6-570.12.1"]="5.14.0-570.12.1.el9_6" MAP["redfs-ubuntu-noble-6.8.0-58.60"]="6.8.0-58.60.ubuntu" + MAP["redfs-ubuntu-hwe-6.17.0-16.16-24.04.1"]="6.17.0-16.16.ubuntu" kerver=${MAP["${{ github.ref_name }}"]} if [ -z ${kerver} ]; then echo "Cannot find target kernel version"