From bfcea0c04bb718d0845fc22496cdad252b65bf29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=98=E6=80=80?= Date: Thu, 13 Jun 2024 03:25:53 +0000 Subject: [PATCH] CI: Add patch check by using build kernel arm64 --- .github/workflows/build-kernel-arm64.yml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build-kernel-arm64.yml diff --git a/.github/workflows/build-kernel-arm64.yml b/.github/workflows/build-kernel-arm64.yml new file mode 100644 index 0000000000000..5c722bf29b282 --- /dev/null +++ b/.github/workflows/build-kernel-arm64.yml @@ -0,0 +1,29 @@ +name: build kernel arm64 +on: + push: + pull_request: + workflow_dispatch: + +env: + KBUILD_BUILD_USER: deepin-kernel-sig + KBUILD_BUILD_HOST: deepin-kernel-builder + email: support@deepin.org + +permissions: + pull-requests: read + +jobs: + build-kernel: + runs-on: [self-hosted, linux, ARM64] + steps: + - uses: actions/checkout@v3 + - name: "Install Deps" + run: | + git config --global user.email $email + git config --global user.name $KBUILD_BUILD_USER + + - name: "Compile kernel" + run: | + # .config + make deepin_arm64_desktop_defconfig + make -j$(nproc)