forked from huangbibo/kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 936 Bytes
/
build-kernel-s390.yml
File metadata and controls
41 lines (35 loc) · 936 Bytes
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
name: build kernel s390
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-kernel:
runs-on: [self-hosted, linux, S390]
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_s390x_z13_defconfig
make -j$(nproc)
- name: 'Upload Kernel Artifact'
uses: actions/upload-artifact@v4
with:
name: Kernel-ABI-s390
path: "Module.symvers"
- name: 'Clang build kernel'
run: |
# .config
make LLVM=-19 deepin_s390x_z13_defconfig
make LLVM=-19 -j$(nproc)