-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI workflow to verify UKL build and boot
- Loading branch information
1 parent
c453636
commit 4b3ee06
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||