Skip to content

Commit 92f86ea

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

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
autoreconf -i
22+
./configure --with-program=redis
23+
make -j`nproc`
24+
timeout 5m make boot
25+
if [ "$?" == "124" ];
26+
exit 0
27+
fi
28+
exit 1
29+
30+

0 commit comments

Comments
 (0)