Benny Baumann
7a8a6dd828
Do not install recommended packages by default for the CI
...
This ensures, the minimal dependencies we specify are sufficient.
Also this reduces fallout from broken recommendations.
2021-06-12 15:27:52 +02:00
Nathan Scott
5abd7f2198
Drop CI distcheck on pcp build as pcp-htop.c now contains main
2021-06-09 17:09:29 +10:00
Nathan Scott
5ef8706d72
Add new CI workflow to check pcp-enabled builds
2021-06-09 17:09:29 +10:00
Christian Göttsche
53bcc5cbff
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.
2021-03-19 22:07:47 +01:00
Christian Göttsche
db042f259b
ci: use focal list for llvm mirror
...
The llvm bionic packages depend on libffi6, which is not available in
focal.
2021-03-19 22:07:47 +01:00
Christian Göttsche
ac27df373a
ci: use clang 12
...
llvm 12 is stable enough to be used in the CI as compiler and static
analyzer.
2021-03-17 15:27:56 +01:00
Benny Baumann
a73064dda9
Remove setuid support
...
This support was rarely ever used and has been disabled by default for some time.
As far as the developer team is aware there's no distribution that activated this
feature in their packages by default.
2021-02-17 15:59:50 +01:00
Daniel Lange
5644d0194b
Merge branch 'default_libcap' (configure overhaul) of cgzones/htop
2021-01-28 07:31:15 +01:00
Christian Göttsche
d77703b3dc
ci: use as-needed linker flag in gcc full-featured build
...
Test whether there are any linking issues
2021-01-27 15:36:50 +01:00
Christian Göttsche
575edffb4b
Add configure option to create static htop binary
2021-01-25 18:01:39 +01:00
Christian Göttsche
5e103ff9d1
configure: overhaul option handling
...
Switch Linux capabilities default from "no" to "check"
Document default settings
Use more readable formatting
2021-01-25 17:54:37 +01:00
Christian Göttsche
f4404effa4
Add option to drop Linux capabilities
...
Conflicts with setuid support, but that is commonly not enabled.
2021-01-11 20:19:51 +01:00
Christian Göttsche
de645ea16c
ci: enable format attributes in ncurses headers
...
Avoid format string issues like bfcb8ca0
by helping compilers spot such
bogus usages.
Also use LTO and O3 in the full-featured gcc job, which might trigger
additional warnings on advanced inlining, like
3695cbd5d8
and
ad3acfc847
2021-01-08 14:05:56 +01:00
Christian Göttsche
dcf7ad386c
GitHub CI: add macOS build
2020-12-08 16:07:45 +01:00
Christian Göttsche
64230ee5cd
ci: use clang-11
2020-12-03 16:28:14 +01:00
Christian Göttsche
2ec940e0d2
ci: use correct configure flags for sensors
2020-12-03 16:28:14 +01:00
Christian Göttsche
2ff2859c23
Add compat mode for systems without openat(2)
2020-11-28 12:35:34 +01:00
Christian Göttsche
9b31ee5b63
Drop taskstats conditional
...
taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR,
SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is
selected.
taskstats is currently enabled by default.
Drop the taskstats configuration switch, to reduce the maintenance cost.
2020-11-25 20:49:39 +01:00
Christian Göttsche
c88c80e3bd
Drop cgroup conditional
...
cgroup is only checked on runtime if the column CGROUP is selected.
cgroup is currently disabled by default, but most distributions do
enable it.
Drop the cgroup configuration switch, to reduce the maintenance cost.
2020-11-25 20:49:39 +01:00
Christian Göttsche
1b225cd7a0
Show CPU temperature in CPU meter
...
Show the CPU temperature in the CPU meter, like CPU frequency, instead
of using an extra Meter.
2020-11-16 16:38:54 +01:00
Christian Göttsche
803234a58d
update Github CI
...
- Add a full featured clang job
- Explicit disable options otherwise enabled by default in minimal job
2020-10-20 21:44:06 +02:00
Benny Baumann
2f9381d867
Keep building on errors
...
Doing so allows for more than one error to be detected in builds
2020-10-15 20:31:56 +02:00
Christian Göttsche
b82a13c6ba
Add clang analyzer CI job
2020-10-03 19:04:27 +02:00
Christian Göttsche
005c4d1f23
Make --enable-hwloc and --enable-linux-affinity mutual exclusive
...
They can not be supported both at the same time.
Fail configure step instead of silently only use hwloc.
2020-09-24 19:43:27 +02:00
Christian Göttsche
3f5784a3f0
Convert hwlock CI run to a full featured one
2020-08-28 13:10:41 +02:00
Nathan Scott
d0f31ede56
Merge branch 'ci-hwloc-job' of https://github.com/bertwesarg/htop into bertwesarg-ci-hwloc-job
2020-08-26 10:15:00 +10:00
Christian Göttsche
fc4f74aa47
ci: add clang build
2020-08-25 12:01:56 +02:00
Bert Wesarg
d64a6a2453
CI: Add a HWLOC enabled job
2020-08-25 11:42:21 +02:00
Nathan Scott
9eb9064fbd
Cleanup unused CI build notes and whitespace
2020-08-24 10:22:44 +10:00
Christian Göttsche
d6adc2b681
github/ci: improve ci
...
- split steps for readability
- fail on compiler warnings
- add whitespace check
- run on all branches
- run `make distcheck`
2020-08-21 10:37:25 +02:00
Nathan Scott
7fbbf25afe
Update ci.yml
...
Comment out MacOSX for now - seems to be missing needed aclocal/m4 toolchain components.
2020-08-17 15:53:49 +10:00
Nathan Scott
e1f48c7c7c
Update ci.yml
...
Correction to deb package name
2020-08-17 15:48:24 +10:00
Nathan Scott
6cd1615863
Update ci.yml
...
Attempt to fix Ubuntu dependencies, add macosx
2020-08-17 15:40:47 +10:00
Nathan Scott
c86ac5cf98
Update ci.yml
...
Install libncurses-dev package on the build system
2020-08-17 15:16:49 +10:00
Nathan Scott
b3003f02fa
Create ci.yml
...
Initial version of htop CI using github actions.
2020-08-17 14:59:23 +10:00