[WIP] [Deepin Kernel SIG] Fix errors with clang-19 #788
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build kernel | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
env: | |
KBUILD_BUILD_USER: deepin-kernel-sig | |
KBUILD_BUILD_HOST: deepin-kernel-builder | |
email: [email protected] | |
permissions: | |
pull-requests: read | |
jobs: | |
build-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) | |
- name: 'Upload Kernel Artifact' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Kernel-ABI-x86-64 | |
path: "Module.symvers" |