From 87a3d2d82477703f8a76674d1733f0a940d39a71 Mon Sep 17 00:00:00 2001 From: Jianfeng Liu Date: Thu, 16 Oct 2025 13:57:55 +0800 Subject: [PATCH] workflow: enable armhf kernel build --- .github/workflows/compile.yaml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index 018b227049d4..3be815452815 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -29,8 +29,8 @@ jobs: fetch-depth: 1 clean: false - - name: Build kernel at ${{ github.event.pull_request.head.sha }} - id: kernel + - name: Build arm64 kernel at ${{ github.event.pull_request.head.sha }} + id: kernel-arm64 run: | rm -rf output/debs/* @@ -46,6 +46,23 @@ jobs: BRANCH=vendor \ ENABLE_EXTENSIONS="pull-request" + - name: Build armhf kernel at ${{ github.event.pull_request.head.sha }} + id: kernel-armhf + run: | + + rm -rf output/debs/* + mkdir -p userpatches/extensions/ + cat <<- EOF > userpatches/extensions/pull-request.sh + function post_family_config__force_commit_for_rk3588() { + KERNELBRANCH="commit:${{ github.event.pull_request.head.sha }}" + } + EOF + bash ./compile.sh kernel \ + SHARE_LOG=yes \ + BOARD=armsom-forge1 \ + BRANCH=vendor \ + ENABLE_EXTENSIONS="pull-request" + - name: Upload artifact uses: actions/upload-artifact@v4 with: