forgejo: enable build.yml for Forge
Some checks failed
Kernel Build / Build (push) Failing after 1m25s
Some checks failed
Kernel Build / Build (push) Failing after 1m25s
This commit is contained in:
parent
a2dfc5179c
commit
e6b175c098
5 changed files with 8 additions and 6 deletions
|
@ -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
|
Loading…
Reference in a new issue