forked from huangbibo/kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.15 KB
/
build-kernel-arm64.yml
File metadata and controls
45 lines (39 loc) · 1.15 KB
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
45
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
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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
scripts/config --enable CONFIG_DEBUG_INFO_NONE
scripts/config --disable CONFIG_DEBUG_INFO_DWARF5
make olddefconfig
make -j$(nproc)
- name: 'Clang build kernel'
run: |
# .config
make LLVM=-18 deepin_arm64_desktop_defconfig
scripts/config --enable CONFIG_DEBUG_INFO_NONE
scripts/config --disable CONFIG_DEBUG_INFO_DWARF5
make LLVM=-18 olddefconfig
make LLVM=-18 -j$(nproc)