Skip to content

CI: Default EXAMPLES_AOT_SMOKE_GATE=1 in ci-local.sh (promote #667) #674

@PurHur

Description

@PurHur

Problem

#667 ✅ added script/examples-aot-smoke.sh and make examples-aot-smoke, but full CI only runs it when contributors export EXAMPLES_AOT_SMOKE_GATE=1. ExamplesCompileTest already covers AOT in PHPUnit; the shell smoke is a fast pre-PR check for 000–004 CLI execute that is easy to forget.

Goal

Default ./script/ci-local.sh runs examples-aot-smoke.sh in the llvm aot-link phase (after PHPUnit @group aot-link), with opt-out EXAMPLES_AOT_SMOKE_GATE=0 for iteration.

Scope

Acceptance criteria

make docker-build-22
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev ./script/ci-local.sh

With LLVM present → log line examples-aot-smoke runs without manual export. With LLVM missing → script exits 0 with skip message (unchanged).

Dependencies

Verification

Local/Docker only — not GitHub Actions.

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions