pve-kernel-thunderx/.forgejo/workflows/build.yml

33 lines
893 B
YAML
Raw Normal View History

name: Kernel Build
2024-10-06 15:01:10 +00:00
on: push
jobs:
build:
name: Build
2024-10-06 15:01:10 +00:00
runs-on: aarch64
container:
image: debian:bookworm
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
steps:
2024-10-06 15:01:10 +00:00
- name: Setup build environment
2024-10-06 15:12:09 +00:00
run: |
cat /etc/os-release
apt-get update
apt-get install -y devscripts debhelper equivs git nodejs sudo
- name: Checkout Sources
2024-10-06 16:39:53 +00:00
uses: actions/checkout@v4
2024-10-06 16:41:34 +00:00
- name: Checkout submodules
run: git submodule update --init --depth 16 --jobs 3
2024-10-06 15:01:10 +00:00
- name: Setup build depends
run: sudo mk-build-deps -i
- name: Build Kernel
run: |
debian/rules debian/control
debuild -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: debs
2021-04-20 19:03:51 +00:00
path: "*.deb"