File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Kernel Test
2+
3+ on :
4+ push :
5+ branches : [ "*" ]
6+ pull_request :
7+
8+ jobs :
9+ build-kernel :
10+ runs-on : ubuntu-latest
11+ name : Test Kernel on ARM64
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Set up QEMU for ARM64 emulation
17+ uses : docker/setup-qemu-action@v3
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v3
21+
22+ - name : Install dependencies
23+ uses : addnab/docker-run-action@v3
24+ with :
25+ image : arm64v8/ubuntu:24.04
26+ options : --platform linux/arm64
27+ run : |
28+ echo "==> Update and install build dependencies"
29+ apt-get update -y
30+ apt-get install -y build-essential flex bison libssl-dev bc \
31+ bison busybox-static cmake coreutils virtme-ng \
32+ cpio elfutils file gcc git iproute2 jq kbd kmod libcap-dev \
33+ libelf-dev libunwind-dev libvirt-clients libzstd-dev \
34+ linux-headers-generic linux-tools-common linux-tools-generic \
35+ make ninja-build pahole pkg-config python3-dev python3-pip \
36+ python3-requests qemu-kvm rsync stress-ng udev zstd \
37+ libseccomp-dev libcap-ng-dev llvm-19 clang-19 python3-full curl \
38+ bpftrace dwarves
39+
40+ echo "==> Install latest virtme-ng via pip"
41+ pip install --break-system-packages virtme-ng
42+
43+ echo "==> Build kernel using virtme-ng"
44+ vng -vb
45+
46+ echo "==> Boot kernel and run uname"
47+ vng -v -- uname -a
Original file line number Diff line number Diff line change 1111# Normal rules (sorted alphabetically)
1212#
1313. *
14+ ! .github /
1415* .a
1516* .asn1. [ch ]
1617* .bin
You can’t perform that action at this time.
0 commit comments