summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-03-19 22:05:43 +0100
committerChristian Göttsche <cgzones@googlemail.com>2021-03-19 22:07:47 +0100
commit53bcc5cbffbdd69e0e08bd33c5e357dd5b753456 (patch)
tree238e1d1d132f39347f9a6e95c33bca7d7e6d209a /.github
parentdb042f259bdb669e4cfe3c0aa5ebea1a6514312a (diff)
ci: drop hwloc from clang-analyzer build
The hwloc header generates lots of warnings: In file included from Action.c:10: In file included from ./Action.h:15: In file included from ./Header.h:10: In file included from ./Meter.h:18: In file included from ./ProcessList.h:25: In file included from /usr/include/hwloc.h:2371: /usr/include/hwloc/helper.h:481:5: warning: Value stored to 'state' is never read [deadcode.DeadStores] state = 3; ^ ~ 1 warning generated.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dc21ea9c..afc9db88 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -122,11 +122,11 @@ jobs:
sudo add-apt-repository 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' -y
sudo apt-get update -q
- name: Install Dependencies
- run: sudo apt-get install clang-12 clang-tools-12 libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev
+ run: sudo apt-get install clang-12 clang-tools-12 libncursesw5-dev libnl-3-dev libnl-genl-3-dev libsensors4-dev libcap-dev
- name: Bootstrap
run: ./autogen.sh
- name: Configure
- run: scan-build-12 -analyze-headers --status-bugs ./configure --enable-debug --enable-werror --enable-openvz --enable-vserver --enable-ancient-vserver --enable-unicode --enable-hwloc --enable-delayacct --enable-sensors --enable-capabilities
+ run: scan-build-12 -analyze-headers --status-bugs ./configure --enable-debug --enable-werror --enable-openvz --enable-vserver --enable-ancient-vserver --enable-unicode --enable-delayacct --enable-sensors --enable-capabilities
- name: Build
run: scan-build-12 -analyze-headers --status-bugs make -j"$(nproc)"

© 2014-2024 Faster IT GmbH | imprint | privacy policy