Skip to content

Commit

Permalink
CI: Add patch check by using build kernel loong64
Browse files Browse the repository at this point in the history
  • Loading branch information
opsiff authored and MingcongBai committed Aug 20, 2024
1 parent be734ba commit 646d3f7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-kernel-loong64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: build kernel loong64
on:
push:
pull_request:
workflow_dispatch:

env:
KBUILD_BUILD_USER: deepin-kernel-sig
KBUILD_BUILD_HOST: deepin-kernel-builder
email: [email protected]

permissions:
pull-requests: read

jobs:
build-kernel:
runs-on: [self-hosted, linux, loong64]
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_loongarch_desktop_defconfig
make -j$(nproc)
- name: 'Upload Kernel Artifact'
uses: actions/upload-artifact@v4
with:
name: Kernel-ABI-loong64
path: "Module.symvers"

0 comments on commit 646d3f7

Please sign in to comment.