Skip to content

Commit

Permalink
CI: do not install unnecessary packages
Browse files Browse the repository at this point in the history
Updating all of the packages every time is not needed and costs a lot of
resources. Install only necessary packages and their dependencies.

Signed-off-by: Kinga Stefaniuk <[email protected]>
  • Loading branch information
ktanska authored and mtkaczyk committed Oct 2, 2024
1 parent ab65417 commit 4c63ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/install_debs_compilation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Install gcc
if [ ! -z "$1" ]; then
sudo apt-get -y update && sudo apt-get -y install gcc-$1 g++-$1
sudo apt-get -y install gcc-$1 g++-$1 --no-upgrade --no-install-recommends --no-install-suggests
fi
# Install dependencies
sudo apt-get -y install pkg-config automake autoconf autoconf-archive make libsgutils2-dev \
Expand Down

0 comments on commit 4c63ac8

Please sign in to comment.