Commit 2228731
committed
Fix: Update deprecated GitHub Actions and resolve subsequent build/test failures
- Updates `actions/checkout` and `actions/cache` to v4 in all workflows.
- Updates all build configurations in the CI to use modern, available versions of `gcc` (v11) and `clang` (v14), removing duplicate jobs.
- Removes the no-longer-available `valgrind-dbg` package from the build process.
- Fixes a `-Werror=overloaded-virtual` C++ compilation error by making the `operator()` in the test class virtual.
- Fixes a large number of `cpplint` errors across the codebase, primarily missing header includes.
- Implements a random port selection mechanism for the integration tests to prevent port conflicts, especially on macOS. This includes a new `test/test_utils.hpp` helper file.
- Adds a `perror` call to `webserver.cpp` to provide more detailed error information if the server daemon fails to start.
- Forces IPv4 on macOS to work around a suspected issue with `libmicrohttpd` and Unix domain sockets.1 parent b3da21b commit 2228731
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
296 | 300 | | |
297 | 301 | | |
298 | 302 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments