mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-30 09:13:29 +00:00
CI: Install make on Ubuntu
Fix CI build failures on Ubuntu 16.04 due to `make` not being installed before the static check script runs by: - Installing make explicitly on Ubuntu. - Moving the static-check script after the package install setup phase. Fixes #134. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
7a88a7c887
commit
abb559d52c
@ -10,8 +10,6 @@ set -e
|
||||
cidir=$(dirname "$0")
|
||||
source "${cidir}/lib.sh"
|
||||
|
||||
bash "${cidir}/static-checks.sh"
|
||||
|
||||
#Note: If add clearlinux as supported CI use a stateless os-release file
|
||||
source /etc/os-release
|
||||
|
||||
@ -22,8 +20,10 @@ elif [ "$ID" == centos ];then
|
||||
sudo -E yum -y install automake yamllint coreutils moreutils
|
||||
elif [ "$ID" == ubuntu ];then
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get install -y -qq automake qemu-utils python-pip coreutils moreutils
|
||||
sudo apt-get install -y -qq make automake qemu-utils python-pip coreutils moreutils
|
||||
sudo pip install yamllint
|
||||
else
|
||||
echo "Linux distribution not supported"
|
||||
fi
|
||||
|
||||
bash "${cidir}/static-checks.sh"
|
||||
|
Loading…
Reference in New Issue
Block a user