You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Runs each examples/*/example.php in VM (bin/vm.php -l or smoke output)
Problem
examples/001-SimpleWeband002-StaticWebcan drift from compiler capabilities.script/rebuild-examples.phpbenchmarks are optional; no CI fails when an example stops compiling.Goal
CI step (host or Docker) that:
examples/*/example.phpin VM (bin/vm.php -lor smoke output)bin/compile.php -lwhen LLVM is available (Testing: Run web AOT/JIT examples in CI when LLVM is present #181)Tasks
test/unit/ExamplesCompileTest.phpor extendExamplesReadmeTestscript/ci-local.sh(skip AOT if no.llvm/)examples/README.mdwhen AOT works (AOT: Re-enable examples/001-SimpleWeb in benchmark table with runtime GET #60)003-MiniWebApp(Reference app: examples/003-MiniWebApp (router, templates, forms) #67)Acceptance criteria
Breaking
htmlspecialcharsin compiler fails CI before merge.Dependencies
Files
test/unit/,script/ci-local.sh