Skip to content

Testing: Example compile gate (VM run + AOT -l for all examples/*.php) #203

Description

@PurHur

Problem

examples/001-SimpleWeb and 002-StaticWeb can drift from compiler capabilities. script/rebuild-examples.php benchmarks are optional; no CI fails when an example stops compiling.

Goal

CI step (host or Docker) that:

  1. Runs each examples/*/example.php in VM (bin/vm.php -l or smoke output)
  2. Runs bin/compile.php -l when LLVM is available (Testing: Run web AOT/JIT examples in CI when LLVM is present #181)

Tasks

Acceptance criteria

Breaking htmlspecialchars in compiler fails CI before merge.

Dependencies

Files

  • test/unit/, script/ci-local.sh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions