File tree Expand file tree Collapse file tree 4 files changed +65
-0
lines changed Expand file tree Collapse file tree 4 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+ cd " $( dirname " $0 " ) /../../.."
4+
5+ commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
6+
7+ git clone --revision=$commit https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+ cd " $( dirname " $0 " ) /../../.."
4+
5+ commit=8d40e0306aacca3596f64a338b5033d2050fc20e
6+
7+ git clone --revision=$commit https://github.com/zherczeg/sljit.git /tmp/php-src-bundled/sljit
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+ cd " $( dirname " $0 " ) /../../.."
4+
5+ cd $1
6+ git add . -N && git diff --cached -a --exit-code . && git diff -a --exit-code .
Original file line number Diff line number Diff line change 1+ name : Verify Bundled Files
2+
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : " 0 1 * * *"
8+ workflow_dispatch : ~
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ VERIFY_BUNDLED_FILES :
15+ name : Verify Bundled Files
16+ runs-on : ubuntu-22.04
17+ steps :
18+ - name : git checkout
19+ uses : actions/checkout@v5
20+
21+ - uses : dorny/paths-filter@v3
22+ id : changes
23+ with :
24+ base : master
25+ filters : |
26+ pcre2:
27+ - 'ext/pcre/pcre2lib/!(sljit/**)/**'
28+ sljit:
29+ - 'ext/pcre/pcre2lib/sljit/**'
30+
31+ - name : PCRE2 - Download
32+ if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }}
33+ run : .github/scripts/download-bundled/pcre2.sh
34+
35+ - name : PCRE2 - Verify files
36+ if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }}
37+ run : .github/scripts/download-bundled/verify-directory-unchanged.sh ext/pcre/pcre2lib
38+
39+ - name : SLJIT - Download
40+ if : ${{ !cancelled() && (steps.changes.outputs.sljit == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }}
41+ run : .github/scripts/download-bundled/sljit.sh
42+
43+ - name : SLJIT - Verify files
44+ if : ${{ !cancelled() && (steps.changes.outputs.sljit == 'true' || (github.event_name != 'push' && github.event_name != 'pull_request')) }}
45+ run : .github/scripts/download-bundled/verify-directory-unchanged.sh ext/pcre/pcre2lib/sljit
You can’t perform that action at this time.
0 commit comments