Skip to content

Commit

Permalink
Add CI workflow to verify UKL build and boot
Browse files Browse the repository at this point in the history
  • Loading branch information
Vance-Raiti committed Oct 8, 2024
1 parent c453636 commit 4b3ee06
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Test that UKL is still working"
on:
workflow_dispatch:
push:
pull_request:

jobs:
verify:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet /opt/ghc "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY" /usr/local/lib/android
- name: Install dependencies
run: |
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
sudo apt install -y docker automake autoconf qemu
- name: Build
run: |
git submodule update --init
autoreconf -i
./configure --with-program=redis
make -j`nproc`
timeout 5m make boot
if [ "$?" == "124" ];
exit 0
fi
exit 1

0 comments on commit 4b3ee06

Please sign in to comment.