[php-src] master: Verify bundled sources using CI - XSSE (#24070)
| From: | Michael Voříšek via GitHub | Date: | Thu, 15 Oct 2026 13:16:34 +0000 |
| Subject: | [php-src] master: Verify bundled sources using CI - XSSE (#24070) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142313@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:16:28+02:00
Commit: https://github.com/php/php-src/commit/fe8fff8353e119524036e2486fa2b1333dff57c6
Raw diff: https://github.com/php/php-src/commit/fe8fff8353e119524036e2486fa2b1333dff57c6.diff
Verify bundled sources using CI - XSSE (#24070)
Changed paths:
A .github/scripts/download-bundled/xsse.sh
M .github/workflows/verify-bundled-files.yml
Diff:
diff --git a/.github/scripts/download-bundled/xsse.sh b/.github/scripts/download-bundled/xsse.sh
new file mode 100755
index 000000000000..1e2c94d9366f
--- /dev/null
+++ b/.github/scripts/download-bundled/xsse.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -ex
+cd "$(dirname "$0")/../../.."
+
+tmp_dir=/tmp/php-src-download-bundled/xsse
+rm -rf "$tmp_dir"
+
+revision=refs/tags/xsse-1.0.0
+
+git clone --depth 1 --revision="$revision" https://github.com/SakiTakamachi/xsse.git
"$tmp_dir"
+
+cp -f "$tmp_dir"/src/xsse.h Zend/zend_simd.h
diff --git a/.github/workflows/verify-bundled-files.yml b/.github/workflows/verify-bundled-files.yml
index 5b0089139e41..6f1b6e68d6c4 100644
--- a/.github/workflows/verify-bundled-files.yml
+++ b/.github/workflows/verify-bundled-files.yml
@@ -5,6 +5,7 @@ on:
paths: &paths
- '.github/scripts/download-bundled/**'
- 'Zend/asm/**'
+ - 'Zend/zend_simd.h'
- 'ext/opcache/jit/ir/**'
- 'ext/hash/xxhash/**'
- 'ext/pcre/pcre2lib/**'
@@ -36,6 +37,9 @@ jobs:
'boost-context':
- '.github/scripts/download-bundled/boost-context.*'
- 'Zend/asm/**'
+ xsse:
+ - '.github/scripts/download-bundled/xsse.*'
+ - 'Zend/zend_simd.h'
'jit-ir':
- '.github/scripts/download-bundled/jit-ir.*'
- 'ext/opcache/jit/ir/**'
@@ -58,6 +62,15 @@ jobs:
echo "::group::Verify files"
.github/scripts/test-directory-unchanged.sh Zend/asm
echo "::endgroup::"
+ - name: XSSE
+ if: ${{ !cancelled() && (steps.changes.outputs.xsse == 'true' ||
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
+ run: |
+ echo "::group::Download"
+ .github/scripts/download-bundled/xsse.sh
+ echo "::endgroup::"
+ echo "::group::Verify files"
+ .github/scripts/test-directory-unchanged.sh 'Zend/zend_simd.h'
+ echo "::endgroup::"
- name: 'JIT IR'
if: ${{ !cancelled() && (steps.changes.outputs.jit-ir == 'true' ||
github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
run: |