From 1828096f40f52d48b68af9d78188f48757a08472 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Fri, 20 Dec 2024 05:09:33 +0800 Subject: [PATCH] CI: Update libsensors-dev package name Ubuntu has removed the transitional dummy package "libsensors4-dev", which caused failures in our CI build jobs. Change the package name to "libsensors-dev" to make them work again. --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0beedc3c1..8c77e3cbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Dependencies - run: sudo apt-get install --no-install-recommends libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev + run: sudo apt-get install --no-install-recommends libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors-dev libcap-dev - name: Bootstrap run: ./autogen.sh - name: Configure @@ -81,7 +81,7 @@ jobs: sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main' -y sudo apt-get update -q - name: Install Dependencies - run: sudo apt-get install --no-install-recommends clang-18 libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev + run: sudo apt-get install --no-install-recommends clang-18 libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors-dev libcap-dev - name: Bootstrap run: ./autogen.sh - name: Configure @@ -100,7 +100,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Dependencies - run: sudo apt-get install --no-install-recommends libncursesw5-dev libtinfo-dev libgpm-dev libsensors4-dev libcap-dev + run: sudo apt-get install --no-install-recommends libncursesw5-dev libtinfo-dev libgpm-dev libsensors-dev libcap-dev - name: Bootstrap run: ./autogen.sh - name: Configure @@ -136,7 +136,7 @@ jobs: sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main' -y sudo apt-get update -q - name: Install Dependencies - run: sudo apt-get install --no-install-recommends clang-18 clang-tools-18 libncursesw5-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev + run: sudo apt-get install --no-install-recommends clang-18 clang-tools-18 libncursesw5-dev libnl-3-dev libnl-genl-3-dev libsensors-dev libcap-dev - name: Bootstrap run: ./autogen.sh - name: Configure @@ -164,7 +164,7 @@ jobs: - name: Install LLVM Toolchain run: sudo apt-get install --no-install-recommends clang-18 libclang-rt-18-dev llvm-18 - name: Install Dependencies - run: sudo apt-get install --no-install-recommends libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev + run: sudo apt-get install --no-install-recommends libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors-dev libcap-dev - name: Bootstrap run: ./autogen.sh - name: Configure diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 47383a78a..ddcc4f5aa 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -34,7 +34,7 @@ jobs: languages: cpp - name: Install Dependencies - run: sudo apt-get install --no-install-recommends libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev + run: sudo apt-get install --no-install-recommends libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors-dev libcap-dev - name: Bootstrap run: ./autogen.sh