File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 88$ bundles = [
99 new Bundle ('boost.context ' , ['Zend/asm ' ]),
1010 new Bundle ('PCRE2 ' , ['ext/pcre/pcre2lib ' ]),
11+ new Bundle ('uriparser ' , ['ext/uri/uriparser ' ]),
1112];
1213
1314class Bundle
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -ex
3+ cd " $( dirname " $0 " ) /../../.."
4+
5+ tmp_dir=/tmp/php-src-download-bundled/uriparser
6+ rm -rf " $tmp_dir "
7+
8+ revision=c3b49569f1f25550a16d9a18207e498d77458b27 # refs/tags/uriparser-0.9.9 with https://github.com/uriparser/uriparser/pull/276
9+
10+ git clone --depth 1 --revision=" $revision " https://github.com/uriparser/uriparser.git " $tmp_dir "
11+
12+ rm -rf ext/uri/uriparser
13+ mkdir ext/uri/uriparser
14+ cp -R " $tmp_dir " /src ext/uri/uriparser
15+ cp -R " $tmp_dir " /include ext/uri/uriparser
16+ cp " $tmp_dir " /COPYING.BSD-3-Clause ext/uri/uriparser
17+
18+ cd ext/uri/uriparser
19+
20+ # move renamed files
21+ mv src/UriConfig.h.in src/UriConfig.h
Original file line number Diff line number Diff line change 66 - ' .github/scripts/download-bundled/**'
77 - ' Zend/asm/**'
88 - ' ext/pcre/pcre2lib/**'
9+ - ' ext/uri/uriparser/**'
910 pull_request :
1011 paths : *paths
1112 schedule :
3536 pcre2:
3637 - '.github/scripts/download-bundled/pcre2.*'
3738 - 'ext/pcre/pcre2lib/**'
39+ uriparser:
40+ - '.github/scripts/download-bundled/uriparser.*'
41+ - 'ext/uri/uriparser/**'
3842
3943 - name : ' boost.context'
4044 if : ${{ !cancelled() && (steps.changes.outputs.boost-context == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
5458 echo "::group::Verify files"
5559 .github/scripts/test-directory-unchanged.sh "ext/pcre/pcre2lib"
5660 echo "::endgroup::"
61+ - name : uriparser
62+ if : ${{ !cancelled() && (steps.changes.outputs.uriparser == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
63+ run : |
64+ echo "::group::Download"
65+ .github/scripts/download-bundled/uriparser.sh
66+ echo "::endgroup::"
67+ echo "::group::Verify files"
68+ .github/scripts/test-directory-unchanged.sh "ext/uri/uriparser"
69+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments