Skip to content

Commit 2fa6d1e

Browse files
committed
Add CI workflow to verify UKL build and boot
1 parent c453636 commit 2fa6d1e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Test that UKL is still working"
2+
on:
3+
workflow_dispatch:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
verify:
9+
runs-on: "ubuntu-latest"
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Install dependencies
15+
run: |
16+
sudo apt install -y bc binutils bison dwarves flex gcc git gnupg2 gzip libelf-dev libncurses5-dev libssl-dev make openssl pahole perl-base rsync tar xz-utils
17+
sudo apt install -y docker automake autoconf qemu
18+
19+
- name: Build
20+
run: |
21+
make -j`nproc`
22+
timeout 5m make boot
23+
if [ "$?" == "124" ];
24+
exit 0
25+
fi
26+
exit 1
27+
28+

0 commit comments

Comments
 (0)