build: add GitHub Actions CI workflows - #113
Open
icosta-sifive wants to merge 2 commits into
Open
icosta-sifive wants to merge 2 commits into
icosta-sifive wants to merge 2 commits into
Conversation
icosta-sifive
force-pushed
the
dev/icosta/github_actions
branch
from
August 18, 2026 14:00
88e238b to
442cc6f
Compare
Add CI workflow for unit testing anf PR checks. Unit tests run on Ubuntu-24.04 and macos-15. PR checks validate commit format, DCO sign-0ff, and code style via checkpatch.pl, and builds dosc when docs/** or include/** files change. Signed-off-by: Ivo Costa <ivo.costa@sifive.com>
Add htmldocs target that runs doxygen without the LaTeX/PDF step. Make docs depend on htmldocs so the full PDF build is preserved for local use while CI can use htmldocs to avoid requiring pdflatex. Signed-off-by: Ivo Costa <ivo.costa@sifive.com>
icosta-sifive
force-pushed
the
dev/icosta/github_actions
branch
from
August 18, 2026 14:21
442cc6f to
f422a56
Compare
icosta-sifive
marked this pull request as ready for review
August 19, 2026 08:24
Contributor
Author
|
@pathakraul in order to make this work, some settings need to be done on the repo:
|
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.
Summary
unit.yml: runsmake checkon ubuntu-24.04 and macos-15 on push/PR to main.Runners are pinned (not
*-latest) to avoid silent breakage when GitHub shifts a runner OS.pr-checks.yml: three PR-only jobs:checkpatch.pl --no-treeover all non-merge commits; covers DCO(Signed-off-by presence/correctness) and kernel-style code hygiene. Replaces a hand-rolled
grep-based DCO check.
FILE_PATH_CHANGESis suppressed (kernel MAINTAINERS convention,not applicable here).
prefixes:
lib:include:test:docs:debian:build:. checkpatch.pl has noconcept of project-specific prefixes so this check is kept separate.
make docsonly whendocs/**orinclude/**files change, gated viadorny/paths-filter.htmldocsMakefile target: runs doxygen without the LaTeX/PDF step. The existingdocstarget depends on
htmldocsso the full PDF build is preserved for local use. CI useshtmldocsto avoid requiringpdflatexon the runner.Notes
commitlintwould reject valid commits, hence the custom prefix check.torvalds/linuxat CI runtime (no vendored copy).Test plan
Signed-off-by:— checkpatch job should fail