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