Skip to content

Commit

Permalink
deepin: CI: package arm64/loong64 daily build kernel
Browse files Browse the repository at this point in the history
Add GitHub Actions to build arm64/loong64 kernel packages daily.

Signed-off-by: WangYuli <wangyuli@uniontech.com>
  • Loading branch information
Avenger-285714 authored and opsiff committed Sep 21, 2024
1 parent 6116d84 commit a5722f7
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/package-kernel-arm64-daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: package kernel arm64 daily
on:
schedule:
- cron: "0 2 * * *"

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, ARM64]
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_arm64_desktop_defconfig
make bindeb-pkg -j$(nproc)
mv ../*.deb .
- name: 'Upload Kernel Artifact'
uses: actions/upload-artifact@v3
with:
name: kernel-arm64-deb
path: "*.deb"
35 changes: 35 additions & 0 deletions .github/workflows/package-kernel-loong64-daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: package kernel loong64 daily
on:
schedule:
- cron: "0 2 * * *"

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

0 comments on commit a5722f7

Please sign in to comment.