File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build kernel riscv64
2+ on :
3+ push :
4+ pull_request :
5+ workflow_dispatch :
6+
7+ env :
8+ KBUILD_BUILD_USER : deepin-kernel-sig
9+ KBUILD_BUILD_HOST : deepin-kernel-builder
10+ 11+
12+ permissions :
13+ pull-requests : read
14+
15+ jobs :
16+ build-kernel :
17+ runs-on : [self-hosted, linux, x64]
18+ steps :
19+ - uses : actions/checkout@v3
20+ - name : " Install Deps"
21+ run : |
22+ git config --global user.email $email
23+ git config --global user.name $KBUILD_BUILD_USER
24+
25+ - name : " Compile kernel"
26+ run : |
27+ # .config
28+ time make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- deepin_riscv64_desktop_defconfig
29+ time make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- -j$(nproc)
30+
31+ - name : ' Upload Kernel Artifact'
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : Kernel-ABI-riscv64
35+ path : " Module.symvers"
You can’t perform that action at this time.
0 commit comments