forked from deepin-community/kernel-rolling
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1018 Bytes
/
build-kernel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: build kernel
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-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)