Skip to content

(0.10.x) - Add GitHub Actions CI workflow - #1

Merged
projectsaturnstudios merged 1 commit into
0.10.xfrom
cursor/github-actions-ci-3749
Oct 11, 2026
Merged

projectsaturnstudios merged 1 commit into
0.10.xfrom
cursor/github-actions-ci-3749

Conversation

@projectsaturnstudios

Copy link
Copy Markdown
Contributor

Add GitHub Actions CI on the 0.10.x line, matching the sibling php-io-extensions repos (qt, sdl3, glfw, gtk, ftdi, posi, pcurl, fb, epoll).

Changes

  1. .github/workflows/ci.yml — build and load the extension across the supported matrix.
  2. README.md — CI status badge only. No other README edits.

No source, build, or test files are touched. Box2D 3.1.1 is vendored under lib/box2d/ and compiled into the module (config.m4), so the workflow does not install a system Box2D package.

Matrix

Same shape as the Linux+macOS siblings:

Axis Values Why
OS ubuntu-24.04, macos-15 composer.json os-families: linux, darwin. ubuntu-24.04 is x86_64 Linux; macos-15 is arm64 Darwin.
PHP 8.4, 8.5 require.php is >=8.4; siblings test 8.4 and 8.5.
Thread safety nts, zts Documented and declared (support-nts / support-zts).

8 jobs, fail-fast: false. Steps: checkout, shivammathur/setup-php@v2, phpize / ./configure --enable-box2d / make, then load box2d.so and php --ri box2d.

Raspberry Pi (arm64 Linux) is a documented install target but is not in the sibling matrices, so it is not added here.

Open in Web Open in Cursor 

Set up a GitHub Actions matrix to build and load the extension on Ubuntu
and macOS across PHP 8.4/8.5 in both NTS and ZTS modes. Box2D 3.1.1 is
vendored and compiled into the module, so no system library install is
needed. Also add a CI status badge to the README.

Co-authored-by: Angel Gonzalez <usftechacg@gmail.com>
@projectsaturnstudios
projectsaturnstudios marked this pull request as ready for review October 11, 2026 16:14
@projectsaturnstudios
projectsaturnstudios merged commit 5fdc184 into 0.10.x Oct 11, 2026
16 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.

2 participants