Skip to content

Commit

Permalink
UBUNTU: Add github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Oct 7, 2024
1 parent c718f56 commit a7949a9
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 56 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on:
push:
pull_request:
branches:
- jammy
- noble
name: Build kernel

jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- name: Install dependencies
shell: bash
run: |
sudo apt-get update && apt-get purge needrestart -y && sudo apt-get upgrade -y
sudo apt-get install -y build-essential gcc-aarch64-linux-gnu bison \
u-boot-tools binfmt-support flex libssl-dev bc rsync kmod cpio xz-utils fakeroot \
udev dosfstools uuid-runtime device-tree-compiler python3 python-is-python3 \
bc debhelper swig libfdt-dev libpython3-dev dctrl-tools
- name: Checkout Kernel repo
uses: actions/checkout@v4

- name: Build Kernel at ${{ github.sha }}
shell: bash
run: |
export $(dpkg-architecture -aarm64)
export CROSS_COMPILE=aarch64-linux-gnu-
export CC=aarch64-linux-gnu-gcc
export LANG=C
fakeroot debian/rules clean binary-headers binary-rockchip do_mainline_build=true
- name: Upload Artifact
uses: actions/[email protected]
with:
name: linux-rockchip
path: ../linux-*.deb
if-no-files-found: error
56 changes: 0 additions & 56 deletions .github/workflows/compile.yaml

This file was deleted.

0 comments on commit a7949a9

Please sign in to comment.