From 7a9a9abd664e995b6f98f6693a2d453b5f20d832 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sun, 10 Mar 2024 12:16:47 +0000 Subject: [PATCH] workflows: install os builder dependencies --- .github/workflows/kernel.yml | 2 ++ .github/workflows/os.yml | 3 ++- hack/ci/install-deps.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 3465c69..c5d0a17 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -3,9 +3,11 @@ on: push: paths: - "kernel/**" + - "hack/ci/**" pull_request: paths: - "kernel/**" + - "hack/ci/**" jobs: build: name: build diff --git a/.github/workflows/os.yml b/.github/workflows/os.yml index 3a11f41..6e1cf69 100644 --- a/.github/workflows/os.yml +++ b/.github/workflows/os.yml @@ -4,10 +4,12 @@ on: paths: - "os/**" - "hack/os/**" + - "hack/ci/**" pull_request: paths: - "os/**" - "hack/os/**" + - "hack/ci/**" jobs: build: name: build @@ -26,4 +28,3 @@ jobs: name: krata-os-x86_64 path: "target/os/krata.qcow2" compression-level: 0 - \ No newline at end of file diff --git a/hack/ci/install-deps.sh b/hack/ci/install-deps.sh index 669d633..29c04f8 100755 --- a/hack/ci/install-deps.sh +++ b/hack/ci/install-deps.sh @@ -4,5 +4,5 @@ set -e sudo apt-get update sudo apt-get install -y \ build-essential libssl-dev libelf-dev musl-dev \ - flex bison bc protobuf-compiler musl-tools + flex bison bc protobuf-compiler musl-tools qemu-utils sudo gem install --no-document fpm