diff options
Diffstat (limited to 'scripts/install.sh')
| -rwxr-xr-x | scripts/install.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100755 index 00000000..25da84ce --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# + +# Remove large folder +rm -rf /opt/hostedtoolcache + +# Install necessary softwares for Ubuntu. + +sudo dpkg --add-architecture i386 +sudo apt-get update +sudo apt-get install -y \ + gcc-multilib \ + git \ + g++ \ + python3-pip \ + ninja-build \ + unifdef \ + p7zip-full \ + tofrodos \ + dos2unix \ + gawk \ + libssl-dev:i386 \ + software-properties-common + +wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - +CODENAME=$(lsb_release -c | cut -f2 -d':' | sed 's/\t//') +apt-add-repository "deb https://apt.kitware.com/ubuntu/ $CODENAME main" + +python3 -m pip install --upgrade pip +pip3 install gcovr==4.1 +pip install --upgrade cmake + |
