From 76f017ddbe7318b28e49605b2787a84274e3a6ad Mon Sep 17 00:00:00 2001 From: ChengyuZhu6 Date: Thu, 7 Mar 2024 13:07:21 +0800 Subject: [PATCH] CI: Install clang in the ci environments To test PR kata-containers/kata-containers#8484, the compilation process for the kata-agent relies on clang. The unit tests failed on arm64: http://jenkins.katacontainers.io/job/kata-containers-2.0-ubuntu20.04-ARM-unit/3419/consoleFull Fixes: #5813 Signed-off-by: ChengyuZhu6 --- .ci/jenkins_job_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/jenkins_job_build.sh b/.ci/jenkins_job_build.sh index e0ddac5b5..7aeeef939 100755 --- a/.ci/jenkins_job_build.sh +++ b/.ci/jenkins_job_build.sh @@ -229,6 +229,8 @@ run_unit_test() { pushd "${GOPATH}/src/${katacontainers_repo}" echo "Installing yq" sudo -E INSTALL_IN_GOPATH=false ./ci/install_yq.sh + echo "Install clang" + sudo -E apt-get install -y clang echo "Installing libseccomp library from sources" libseccomp_install_dir=$(mktemp -d -t libseccomp.XXXXXXXXXX) gperf_install_dir=$(mktemp -d -t gperf.XXXXXXXXXX)