From 4c63ac86f5911e7753b90da0f21e9f7de90be400 Mon Sep 17 00:00:00 2001 From: Kinga Stefaniuk Date: Wed, 25 Sep 2024 15:48:32 +0200 Subject: [PATCH] CI: do not install unnecessary packages 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 --- .github/install_debs_compilation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/install_debs_compilation.sh b/.github/install_debs_compilation.sh index 27003b3b..bf5f50fb 100755 --- a/.github/install_debs_compilation.sh +++ b/.github/install_debs_compilation.sh @@ -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 \