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-c400
Oct 11, 2026
Merged

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

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, fb, gtk, posi, sdl3, ftdi, glfw, epoll, pcurl, box2d).

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. Pest is not run: the suite needs a CGL or surfaceless-EGL context, the same headless constraint glfw and sdl3 handle by building and loading only.

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. Linux installs pkg-config, libegl-dev, libgles-dev, and libwayland-dev (config.m4 requires egl >= 1.5, glesv2, and wayland-egl). macOS links OpenGL.framework from the SDK, so no extra packages. Steps: checkout, shivammathur/setup-php@v2, phpize / ./configure --enable-opengl / make, then load opengl.so and php --ri opengl.

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 

Add 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, installing
EGL/GLES/Wayland headers on Linux. 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:18
@projectsaturnstudios
projectsaturnstudios merged commit b5496e5 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