Conversation
Parallel jobs run on ubuntu-24.04: lint, userspace build/test, and out-of-tree kernel module compile. Lint runs scripts under .ci/ : clang-format-20 conformance, trailing newline check (broadened beyond C/H to cover shell, Python, Markdown, and Makefiles), banned-function and secret scanning, and cppcheck on userspace sources only. Kernel code is excluded from cppcheck because Linux kernel macros produce extensive false positives without per-file suppressions; kernel-side correctness is enforced by the kernel build itself. The kmod build installs linux-headers-generic and selects the newest version under /usr/src rather than pinning to linux-headers of running kernel. GitHub-hosted runners often use Azure-flavored kernels whose exact headers package is not in default apt repo. This is compile validation only and never insmods, so any recent generic header set is acceptable. Integration coverage (sudo make check, requiring insmod of vpipe + vivid + dma-heap) is intentionally left out of CI. Concurrency cancels superseded PR runs but lets push runs on main complete so every commit keeps a green or red signal. All jobs declare timeout-minutes and the workflow holds least-privilege contents:read permission. Change-Id: Iacf9d00170440fa75e599d9eeb0a63f1a3a1544e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parallel jobs run on ubuntu-24.04: lint, userspace build/test, and out-of-tree kernel module compile.
Lint runs scripts under .ci/ : clang-format-20 conformance, trailing newline check (broadened beyond C/H to cover shell, Python, Markdown, and Makefiles), banned-function and secret scanning, and cppcheck on userspace sources only. Kernel code is excluded from cppcheck because Linux kernel macros produce extensive false positives without per-file suppressions; kernel-side correctness is enforced by the kernel build itself.
The kmod build installs linux-headers-generic and selects the newest version under /usr/src rather than pinning to linux-headers of running kernel. GitHub-hosted runners often use Azure-flavored kernels whose exact headers package is not in default apt repo. This is compile validation only and never insmods, so any recent generic header set is acceptable.
Integration coverage (sudo make check, requiring insmod of vpipe + vivid
Concurrency cancels superseded PR runs but lets push runs on main complete so every commit keeps a green or red signal. All jobs declare timeout-minutes and the workflow holds least-privilege contents:read permission.
Change-Id: Iacf9d00170440fa75e599d9eeb0a63f1a3a1544e