-
Notifications
You must be signed in to change notification settings - Fork 109
58 lines (48 loc) · 1.43 KB
/
build-kernel-extra.yml
File metadata and controls
58 lines (48 loc) · 1.43 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
46
47
48
49
50
51
52
53
54
55
56
57
name: build kernel extra
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-extra:
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 x86_64_defconfig"
run: |
# .config
make x86_64_defconfig
make -j$(nproc)
- name: "Clang build kernel x86_64_defconfig"
run: |
# .config
make LLVM=-18 x86_64_defconfig
make LLVM=-18 -j$(nproc)
- name: "Clang build kernel arm64 defconfig"
run: |
# .config
make LLVM=-18 ARCH=arm64 defconfig
make LLVM=-18 ARCH=arm64 -j$(nproc)
- name: "Clang build kernel loongarch loongson3_defconfig"
run: |
# .config
make LLVM=-18 ARCH=loongarch loongson3_defconfig
make LLVM=-18 ARCH=loongarch -j$(nproc)
- name: "Clang build kernel riscv rv32_defconfig"
run: |
# .config
make LLVM=-18 ARCH=riscv rv32_defconfig
make LLVM=-18 ARCH=riscv -j$(nproc)