Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/build-kernel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: build kernel
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-x86-kernel:
runs-on: [self-hosted, linux, x64]
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_x86_desktop_defconfig
make -j$(nproc)

build-arm64-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)