tools: genpolicy static checks

Package genpolicy and enable static checks for it.

Fixes: #8813

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
Dan Mihai
2024-01-12 16:43:27 +00:00
parent 0dc00ae373
commit 201eec628a
9 changed files with 31 additions and 41 deletions

View File

@@ -33,6 +33,7 @@ jobs:
- cloud-hypervisor
- cloud-hypervisor-glibc
- firecracker
- genpolicy
- kata-ctl
- kernel
- kernel-confidential

View File

@@ -48,6 +48,7 @@ jobs:
- kata-ctl
- runk
- trace-forwarder
- genpolicy
command:
- "make vendor"
- "make check"
@@ -75,6 +76,8 @@ jobs:
install-libseccomp: yes
- component: runk
install-libseccomp: yes
- component: genpolicy
component-path: src/tools/genpolicy
steps:
- name: Checkout the code
uses: actions/checkout@v4