File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-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-24.04
11+ name : Kernel Build
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Install dependencies
17+ run : |
18+ sudo apt-get update -y
19+ sudo apt-get install -y build-essential flex bison libssl-dev bc \
20+ bison busybox-static cmake coreutils virtme-ng \
21+ cpio elfutils file gcc git iproute2 jq kbd kmod libcap-dev \
22+ libelf-dev libunwind-dev libvirt-clients libzstd-dev libasound2-dev \
23+ libdrm-dev linux-headers-generic linux-tools-common linux-tools-generic \
24+ make ninja-build pahole pkg-config python3-dev python3-pip \
25+ python3-requests qemu-kvm qemu-system-arm rsync stress-ng udev zstd \
26+ libseccomp-dev libcap-ng-dev llvm-19 clang-19 python3-full curl \
27+ bpftrace dwarves gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
28+
29+ - name : Install virtme-ng
30+ run : pip install --break-system-packages virtme-ng
31+
32+ - name : Build kernel
33+ run : vng -vb --arch arm64 CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64
34+
35+ - name : Build kselftest
36+ run : make -C tools/testing/selftests CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64
37+
38+ - name : Boot test
39+ run : vng --arch arm64 --root ./arm64 -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