2021-09-05 09:55:18 +00:00
|
|
|
name: Kernel Build
|
2020-09-17 23:36:42 +00:00
|
|
|
|
2024-10-06 15:01:10 +00:00
|
|
|
on: push
|
2020-09-17 23:36:42 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
2024-10-06 15:01:10 +00:00
|
|
|
runs-on: aarch64
|
|
|
|
container:
|
|
|
|
image: debian:bookworm
|
2021-09-05 09:55:18 +00:00
|
|
|
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
|
2020-09-17 23:36:42 +00:00
|
|
|
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
|
2020-09-17 23:36:42 +00:00
|
|
|
- name: Checkout Sources
|
2024-10-06 16:39:53 +00:00
|
|
|
uses: actions/checkout@v4
|
2020-09-17 23:36:42 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2024-10-06 15:01:10 +00:00
|
|
|
- name: Setup build depends
|
|
|
|
run: sudo mk-build-deps -i
|
2020-09-17 23:36:42 +00:00
|
|
|
- name: Build Kernel
|
|
|
|
run: |
|
2021-04-18 17:55:44 +00:00
|
|
|
debian/rules debian/control
|
2021-04-19 15:55:01 +00:00
|
|
|
debuild -e CCACHE_DIR=/var/cache/ccache --prepend-path=/usr/lib/ccache --jobs=auto -b -uc -us
|
2020-09-17 23:36:42 +00:00
|
|
|
- name: Upload Artifacts
|
2022-10-26 11:24:54 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2020-09-17 23:36:42 +00:00
|
|
|
with:
|
2021-04-18 17:55:44 +00:00
|
|
|
name: debs
|
2021-04-20 19:03:51 +00:00
|
|
|
path: "*.deb"
|