Skip to content

ci: add GitHub Actions workflow - #2

Merged
manuelnaranjo merged 1 commit into
masterfrom
ci/github-actions
Oct 22, 2026
Merged

manuelnaranjo merged 1 commit into
masterfrom
ci/github-actions

Conversation

@manuelnaranjo

@manuelnaranjo manuelnaranjo commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add a GitHub Actions workflow (.github/workflows/ci.yml) that builds and tests the module on perl
    5.36, 5.42 and latest.
  • Runs on pushes to master, pull requests, and manual runs. fail-fast is off, so each perl version reports on its own.
  • Installs the dependencies Makefile.PL needs before it runs (File::Copy::Recursive, ExtUtils::XSpp, ...) explicitly with
    cpanm, because Makefile.PL loads them before it can declare prereqs.
  • Caches the libv8/ directory that Makefile.PL downloads, keyed on NODEJS_VERSION, OS and architecture, so the
    gem isn't downloaded on every run.

Notes

Runs on ubuntu-latest with the stock g++ toolchain, not the gcc-toolset-13 setup in the Dockerfile. If linking against the prebuilt libv8_monolith.a fails there, we can run the job inside the Docker image instead.

🤖 Generated with Claude Code

Build and test on perl 5.36, 5.42 and the latest release, caching
the downloaded libv8 between runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manuelnaranjo
manuelnaranjo merged commit 7057585 into master Oct 22, 2026
2 of 3 checks passed
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