Files
swupd-client/scripts/github_actions/build_ci_style.bash
T
2020-04-23 12:07:51 -07:00

20 lines
631 B
Bash
Executable File

#!/bin/bash
# Calls build_ci to install dependencies and build swupd.
# Install dependencies needed to run compliance check, documentation check and
# bash shell check
set -e
./scripts/github_actions/build_ci.bash
# Install dependencies from ubuntu
sudo apt-get install shellcheck
sudo apt-get install doxygen
sudo pip install coverxygen
# Install new clang-format from llvm repository
wget -O llvm.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
sudo apt-key add llvm.gpg.key
sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
sudo apt-get update
sudo apt-get install -y clang-format-10