forgejo: enable build.yml for Forge
Some checks failed
Kernel Build / Build (push) Failing after 1m25s

This commit is contained in:
Antoine Martin 2024-10-06 11:01:10 -04:00
parent a2dfc5179c
commit e6b175c098
Signed by: forge
GPG key ID: D62A472A4AA7D541
5 changed files with 8 additions and 6 deletions

View file

@ -1,22 +1,24 @@
name: Kernel Build
on: pull_request
on: push
jobs:
build:
name: Build
runs-on: [self-hosted]
runs-on: aarch64
container:
image: debian:bookworm
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
steps:
- name: Clean Workspace
run: rm -rf *.deb *.ddeb *.build *.buildinfo *.changes
- name: Setup build environment
run: apt install devscripts debhelper equivs git nodejs sudo
- name: Checkout Sources
uses: actions/checkout@v3
with:
submodules: recursive
path: pve-port-kernel
- name: Clean Repository
run: git -C pve-port-kernel submodule foreach git clean -ffdx
- name: Setup build depends
run: sudo mk-build-deps -i
- name: Build Kernel
run: |
rm -rf *.deb *.ddeb *.build *.buildinfo *.changes