Skip to content

Add GitHub Actions CI with build and smoke test - #3

Merged
mattn merged 2 commits into
masterfrom
add-ci
Aug 18, 2026
Merged

Add GitHub Actions CI with build and smoke test#3
mattn merged 2 commits into
masterfrom
add-ci

Conversation

@mattn

@mattn mattn commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Adds a GitHub Actions workflow that builds the tree with both g++ and clang++ through the regular autotools flow and then runs a new in-repo smoke test, t/smoke.sh. The test starts the server against a throwaway docroot and exercises static files, the default page, directory listing, content types, 404s, HEAD, keep-alive, a 1MB transfer, CGI GET/POST including a 300KB request body (run repeatedly to catch the recently fixed CGI race), and clean shutdown on SIGTERM.

Also parenthesizes the _rotl macro arguments in utils.cxx so the clang leg builds without -Wshift-op-parentheses noise (no behavior change; the grouping matches what precedence already produced).

mattn added 2 commits August 18, 2026 16:03
Silences clang's -Wshift-op-parentheses; the grouping was already what
operator precedence produced, so no behavior change.
Builds with g++ and clang++ via autotools and runs t/smoke.sh, which
exercises static files, directory listing, content types, CGI GET/POST
(including a 300KB body), keep-alive, a 1MB transfer and clean SIGTERM
shutdown.
@mattn
mattn merged commit a04209e into master Aug 18, 2026
2 checks passed
@mattn
mattn deleted the add-ci branch August 18, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant