File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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/xxhash
6+ rm -rf " $tmp_dir "
7+
8+ revision=refs/tags/v0.8.2
9+
10+ git clone --depth 1 --revision=" $revision " https://github.com/Cyan4973/xxHash.git " $tmp_dir "
11+
12+ cp -f " $tmp_dir " /xxhash.h ext/hash/xxhash/xxhash.h
Original file line number Diff line number Diff line change 66 - ' .github/scripts/download-bundled/**'
77 - ' Zend/asm/**'
88 - ' ext/opcache/jit/ir/**'
9+ - ' ext/hash/xxhash/**'
910 - ' ext/pcre/pcre2lib/**'
1011 - ' ext/uri/uriparser/**'
1112 pull_request :
3536 'boost-context':
3637 - '.github/scripts/download-bundled/boost-context.*'
3738 - 'Zend/asm/**'
38- 'jit-ir' :
39- - '.github/scripts/download-bundled/jit-ir .*'
40- - 'ext/opcache/jit/ir /**'
39+ xxhash :
40+ - '.github/scripts/download-bundled/xxhash .*'
41+ - 'ext/hash/xxhash /**'
4142 pcre2:
4243 - '.github/scripts/download-bundled/pcre2.*'
4344 - 'ext/pcre/pcre2lib/**'
6364 echo "::group::Verify files"
6465 .github/scripts/test-directory-unchanged.sh 'ext/opcache/jit/ir'
6566 echo "::endgroup::"
67+ - name : xxHash
68+ if : ${{ !cancelled() && (steps.changes.outputs.xxhash == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
69+ run : |
70+ echo "::group::Download"
71+ .github/scripts/download-bundled/xxhash.sh
72+ echo "::endgroup::"
73+ echo "::group::Verify files"
74+ .github/scripts/test-directory-unchanged.sh 'ext/hash/xxhash'
75+ echo "::endgroup::"
6676 - name : PCRE2
6777 if : ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
6878 run : |
You can’t perform that action at this time.
0 commit comments