summaryrefslogtreecommitdiff
path: root/scripts/install.sh
blob: 752a03b41b056c727a78c203a0a260137e60083f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
#
# Install necessary softwares for Ubuntu.

# Remove large folder to save space
rm -rf /opt/hostedtoolcache

sudo apt-get update
sudo apt-get install -y \
    gcc-multilib \
    git \
    g++ \
    python3-pip \
    ninja-build \
    unifdef \
    p7zip-full \
    tofrodos \
    gawk \
    cmake \
    software-properties-common

python3 -m pip install --upgrade pip
pip3 install gcovr==4.1

# Upgrade cmake to the latest version.
pip install --upgrade cmake