From 0d98e248ff30dd4e5a15edffa3da93447fcbf2f9 Mon Sep 17 00:00:00 2001 From: Salvador Fuentes Date: Tue, 21 May 2019 10:00:26 -0500 Subject: [PATCH] ci: Build kata-runtime before running static checks We need to build kata-runtime to have the correct files in place to be able to run the static checks script. Fixes #1716. Signed-off-by: Salvador Fuentes --- .ci/static-checks.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/static-checks.sh b/.ci/static-checks.sh index cfadeaf8a8..5d0317e41e 100755 --- a/.ci/static-checks.sh +++ b/.ci/static-checks.sh @@ -9,4 +9,8 @@ set -e cidir=$(dirname "$0") source "${cidir}/lib.sh" +# Build kata-runtime before running static checks +make -C "${cidir}/../" + +# Run static checks run_static_checks