This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify Bundled | |
| on: | |
| schedule: | |
| # every week | |
| - cron: "0 0 * * 0" | |
| push: | |
| pull_request: | |
| workflow_dispatch: ~ | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify_bundled: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: git checkout | |
| uses: actions/checkout@v5 | |
| - uses: dorny/paths-filter@v3 | |
| id: changes | |
| with: | |
| filters: | | |
| opcache_jit_ir: | |
| - 'ext/opcache/jit/ir/**' | |
| - name: Opcache JIT IR - Download | |
| if: (success() || failure()) && (steps.changes.outputs.opcache_jit_ir == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) | |
| run: | | |
| rm -rf ext/opcache/jit/ir | |
| git clone --revision=5a81104e650ebd7ac24eb63d4dff67db723a5278 https://github.com/dstogov/ir.git ext/opcache/jit/ir | |
| cd ext/opcache/jit/ir | |
| rm -r .github/workflows bench examples tests tools | |
| - name: Opcache JIT IR - Verify files | |
| if: (success() || failure()) && (steps.changes.outputs.opcache_jit_ir == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) | |
| run: git add . -N && git diff -a --exit-code ext/opcache/jit/ir |