Skip to content

Commit 4b3ee06

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

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/test.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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: Free disk space
15+
run: |
16+
sudo rm -rf /usr/share/dotnet /opt/ghc "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY" /usr/local/lib/android
17+
18+
- name: Install dependencies
19+
run: |
20+
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
21+
sudo apt install -y docker automake autoconf qemu
22+
23+
- name: Build
24+
run: |
25+
git submodule update --init
26+
autoreconf -i
27+
./configure --with-program=redis
28+
make -j`nproc`
29+
timeout 5m make boot
30+
if [ "$?" == "124" ];
31+
exit 0
32+
fi
33+
exit 1
34+
35+

0 commit comments

Comments
 (0)