From 92f86eac3a5ebcb40a6bb01843418e847da7d300 Mon Sep 17 00:00:00 2001 From: vance-raiti Date: Tue, 8 Oct 2024 22:15:59 +0000 Subject: [PATCH] Add CI workflow to verify UKL build and boot --- .github/workflows/test.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 000000000..aac5310b2 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,30 @@ +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: 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: | + autoreconf -i + ./configure --with-program=redis + make -j`nproc` + timeout 5m make boot + if [ "$?" == "124" ]; + exit 0 + fi + exit 1 + +