From 5206e818175a834923d31c5d357ebdd5f5c4a54d Mon Sep 17 00:00:00 2001 From: Stephane Janel Date: Sat, 16 Mar 2024 12:26:41 +0100 Subject: [PATCH] Add apt upgrade to github workflows --- .github/workflows/codeql-analysis.yml | 1 + .github/workflows/ubuntu-clang-tidy.yml | 1 + .github/workflows/ubuntu-monitoring.yml | 1 + .github/workflows/ubuntu.yml | 1 + INSTALL.md | 3 ++- 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5377516f..8fe7337e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -53,6 +53,7 @@ jobs: - name: Install dependencies run: | sudo apt update + sudo apt upgrade -y sudo apt install build-essential ninja-build libssl-dev libcurl4-gnutls-dev cmake git ca-certificates gzip -y --no-install-recommends - name: Create Build Environment diff --git a/.github/workflows/ubuntu-clang-tidy.yml b/.github/workflows/ubuntu-clang-tidy.yml index 1149df8f..1e4e6387 100644 --- a/.github/workflows/ubuntu-clang-tidy.yml +++ b/.github/workflows/ubuntu-clang-tidy.yml @@ -22,6 +22,7 @@ jobs: - name: Install dependencies run: | sudo apt update + sudo apt upgrade -y sudo apt install cmake libssl-dev libcurl4-gnutls-dev ninja-build -y --no-install-recommends - name: Install clang (with clang-tidy) diff --git a/.github/workflows/ubuntu-monitoring.yml b/.github/workflows/ubuntu-monitoring.yml index 4807c6f8..c9a55d47 100644 --- a/.github/workflows/ubuntu-monitoring.yml +++ b/.github/workflows/ubuntu-monitoring.yml @@ -23,6 +23,7 @@ jobs: - name: Prerequisites run: | sudo apt update + sudo apt upgrade -y sudo apt install cmake libssl-dev git libcurl4-gnutls-dev ninja-build -y --no-install-recommends - name: Install prometheus-cpp diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index da7a2f86..6b164337 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -22,6 +22,7 @@ jobs: - name: Install dependencies run: | sudo apt update + sudo apt upgrade -y sudo apt install cmake libssl-dev libcurl4-gnutls-dev ninja-build -y --no-install-recommends - name: Install gcc diff --git a/INSTALL.md b/INSTALL.md index b7fb8986..a9bbd9d3 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -71,7 +71,8 @@ Provided that your distribution is sufficiently recent, meta package `build-esse Otherwise you can still force it: ```bash -sudo apt update && sudo apt install build-essential ninja-build libcurl4-gnutls-dev libssl-dev cmake git ca-certificates gzip +sudo apt update +sudo apt install build-essential ninja-build libcurl4-gnutls-dev libssl-dev cmake git ca-certificates gzip ``` You can refer to the provided [Dockerfile](Dockerfile) for more information.