File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Verify Bundled
2+
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ # every week
8+ - cron : " 0 0 * * 0"
9+ workflow_dispatch : ~
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ VERIFY_BUNDLED_FILES :
16+ name : Verify Bundled Files
17+ runs-on : ubuntu-22.04
18+ steps :
19+ - name : git checkout
20+ uses : actions/checkout@v5
21+
22+ - uses : dorny/paths-filter@v3
23+ id : changes
24+ with :
25+ filters : |
26+ opcache_jit_ir:
27+ - 'ext/opcache/jit/ir/**'
28+
29+ - name : Opcache JIT IR - Download
30+ if : (success() || failure()) && (steps.changes.outputs.opcache_jit_ir == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request'))
31+ run : |
32+ rm -rf ext/opcache/jit/ir
33+ git clone --revision=5a81104e650ebd7ac24eb63d4dff67db723a5278 https://github.com/dstogov/ir.git ext/opcache/jit/ir
34+ - name : Opcache JIT IR - Verify files
35+ if : (success() || failure()) && (steps.changes.outputs.opcache_jit_ir == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request'))
36+ run : |
37+ cd ext/opcache/jit/ir
38+ rm -r .git .github/workflows bench examples tests tools README.md TODO ir.g ir_cpuinfo.c ir_emit_c.c ir_emit_llvm.c ir_load.c ir_load_llvm.c ir_main.c ir_mem2ssa.c
39+ git restore README
40+ git add . -N && git diff -a --exit-code .
You can’t perform that action at this time.
0 commit comments