Skip to content

Commit

Permalink
CI: package daily build kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
opsiff committed Jun 17, 2024
1 parent 576d2c3 commit a1fa24b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/package-kernel-amd64-daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: package kernel amd64 daily
on:
schedule:
- cron: "0 2 * * *"

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 bindeb-pkg -j$(nproc)
- name: 'Upload Kernel Artifact'
uses: actions/upload-artifact@v3
with:
name: kernel-amd64-deb
path: "../*.deb"

0 comments on commit a1fa24b

Please sign in to comment.