[php-src] master: Verify bundled sources using CI - xxHash (#24243)

From: Date: Thu, 15 Oct 2026 13:15:32 +0000
Subject: [php-src] master: Verify bundled sources using CI - xxHash (#24243)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142312@lists.php.net to get a copy of this message
Author: Michael Voříšek (mvorisek) Committer: GitHub (web-flow) Pusher: arnaud-lb Date: 2026-10-15T15:15:28+02:00 Commit: https://github.com/php/php-src/commit/fabae632276e92e836bef9937497b96c5489c5a4 Raw diff: https://github.com/php/php-src/commit/fabae632276e92e836bef9937497b96c5489c5a4.diff Verify bundled sources using CI - xxHash (#24243) Changed paths: A .github/scripts/download-bundled/xxhash.sh M .github/workflows/verify-bundled-files.yml Diff: diff --git a/.github/scripts/download-bundled/xxhash.sh b/.github/scripts/download-bundled/xxhash.sh new file mode 100755 index 000000000000..fc0c7eb7b302 --- /dev/null +++ b/.github/scripts/download-bundled/xxhash.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -ex +cd "$(dirname "$0")/../../.." + +tmp_dir=/tmp/php-src-download-bundled/xxhash +rm -rf "$tmp_dir" + +revision=refs/tags/v0.8.2 + +git clone --depth 1 --revision="$revision" https://github.com/Cyan4973/xxHash.git "$tmp_dir" + +cp -f "$tmp_dir"/xxhash.h ext/hash/xxhash/xxhash.h diff --git a/.github/workflows/verify-bundled-files.yml b/.github/workflows/verify-bundled-files.yml index f36317473110..5b0089139e41 100644 --- a/.github/workflows/verify-bundled-files.yml +++ b/.github/workflows/verify-bundled-files.yml @@ -6,6 +6,7 @@ on: - '.github/scripts/download-bundled/**' - 'Zend/asm/**' - 'ext/opcache/jit/ir/**' + - 'ext/hash/xxhash/**' - 'ext/pcre/pcre2lib/**' - 'ext/uri/uriparser/**' pull_request: @@ -38,6 +39,9 @@ jobs: 'jit-ir': - '.github/scripts/download-bundled/jit-ir.*' - 'ext/opcache/jit/ir/**' + xxhash: + - '.github/scripts/download-bundled/xxhash.*' + - 'ext/hash/xxhash/**' pcre2: - '.github/scripts/download-bundled/pcre2.*' - 'ext/pcre/pcre2lib/**' @@ -63,6 +67,15 @@ jobs: echo "::group::Verify files" .github/scripts/test-directory-unchanged.sh 'ext/opcache/jit/ir' echo "::endgroup::" + - name: xxHash + if: ${{ !cancelled() && (steps.changes.outputs.xxhash == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} + run: | + echo "::group::Download" + .github/scripts/download-bundled/xxhash.sh + echo "::endgroup::" + echo "::group::Verify files" + .github/scripts/test-directory-unchanged.sh 'ext/hash/xxhash' + echo "::endgroup::" - name: PCRE2 if: ${{ !cancelled() && (steps.changes.outputs.pcre2 == 'true' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} run: |

« previous php.cvs (#142312) next »