Skip to content

Add ZTS (Thread Safety) to CI test matrix #18

@pronskiy

Description

@pronskiy

FrankenPHP requires ZTS (Zend Thread Safety). We need to verify php-debugger works under ZTS.

What to do

  1. Add --enable-zts build variants to tests.yml (at least PHP 8.4 × ZTS)
  2. Fix any thread-safety issues that surface (missing TSRM macros, non-thread-local globals)
  3. Verify all TSRM cache macros are present: ZEND_TSRMLS_CACHE_DEFINE(), ZEND_TSRMLS_CACHE_UPDATE()

Acceptance criteria

  • CI runs tests with --enable-zts on at least one PHP version
  • All tests that pass in NTS also pass in ZTS
  • No thread-safety warnings/errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciCI/CD, GitHub Actions, testing infrastructurestatic-buildStatic compilation, FrankenPHP, static-php-cli

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions