File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 77$ bundles = [
88 new Bundle ('boost.context ' , ['Zend/asm ' ]),
99 new Bundle ('PCRE2 ' , ['ext/pcre/pcre2lib ' ]),
10+ new Bundle ('uriparser ' , ['ext/uri/uriparser ' ]),
1011];
1112
1213class 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 3030 pcre2:
3131 - '.github/scripts/download-bundled/pcre2.*'
3232 - 'ext/pcre/pcre2lib/**'
33+ uriparser:
34+ - '.github/scripts/download-bundled/uriparser.*'
35+ - 'ext/uri/uriparser/**'
3336
3437 - name : ' boost.context'
3538 if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
4952 echo "::group::Verify files"
5053 .github/scripts/test-directory-unchanged.sh "ext/pcre/pcre2lib"
5154 echo "::endgroup::"
55+ - name : uriparser
56+ if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
57+ run : |
58+ echo "::group::Download"
59+ .github/scripts/download-bundled/uriparser.sh
60+ echo "::endgroup::"
61+ echo "::group::Verify files"
62+ .github/scripts/test-directory-unchanged.sh "ext/uri/uriparser"
63+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments