File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88$ bundles = [
99 new Bundle ('boost.context ' , ['Zend/asm ' ]),
10+ new Bundle ('XSSE ' , ['Zend/zend_simd.h ' ]),
1011 new Bundle ('timelib ' , ['ext/date/lib ' ]),
1112 new Bundle ('Unicode Character Database ' , ['ext/mbstring ' ]),
1213 new Bundle ('PCRE2 ' , ['ext/pcre/pcre2lib ' ]),
@@ -165,7 +166,7 @@ protected function makeDornyPathsFilterFilters(Bundle $bundle): array
165166 {
166167 return [
167168 '.github/scripts/download-bundled/ ' . $ bundle ->getNameForPath () . '.* ' ,
168- ...array_map (static fn ($ v ) => $ v . '/** ' , $ bundle ->directories ),
169+ ...array_map (fn ($ v ) => is_file ( $ this -> getRepoDirectory () . ' / ' . $ v ) ? $ v : $ v . '/** ' , $ bundle ->directories ),
169170 ];
170171 }
171172
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/xsse
6+ rm -rf " $tmp_dir "
7+
8+ revision=refs/tags/xsse-1.0.0
9+
10+ git clone --depth 1 --revision=" $revision " https://github.com/SakiTakamachi/xsse.git " $tmp_dir "
11+
12+ cp -f " $tmp_dir " /src/xsse.h Zend/zend_simd.h
Original file line number Diff line number Diff line change 55 paths : &paths
66 - ' .github/scripts/download-bundled/**'
77 - ' Zend/asm/**'
8+ - ' Zend/zend_simd.h'
89 - ' ext/date/lib/**'
910 - ' ext/mbstring/**'
1011 - ' ext/pcre/pcre2lib/**'
3637 'boost-context':
3738 - '.github/scripts/download-bundled/boost-context.*'
3839 - 'Zend/asm/**'
40+ xsse:
41+ - '.github/scripts/download-bundled/xsse.*'
42+ - 'Zend/zend_simd.h'
3943 timelib:
4044 - '.github/scripts/download-bundled/timelib.*'
4145 - 'ext/date/lib/**'
5862 echo "::group::Verify files"
5963 .github/scripts/test-directory-unchanged.sh 'Zend/asm'
6064 echo "::endgroup::"
65+ - name : XSSE
66+ if : ${{ !cancelled() && (steps.changes.outputs.xsse == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
67+ run : |
68+ echo "::group::Download"
69+ .github/scripts/download-bundled/xsse.sh
70+ echo "::endgroup::"
71+ echo "::group::Verify files"
72+ .github/scripts/test-directory-unchanged.sh 'Zend/zend_simd.h'
73+ echo "::endgroup::"
6174 - name : timelib
6275 if : ${{ !cancelled() && (steps.changes.outputs.timelib == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
6376 run : |
You can’t perform that action at this time.
0 commit comments