Commit fe8fff8353e for php
commit fe8fff8353e119524036e2486fa2b1333dff57c6
Author: Michael Voříšek <mvorisek@mvorisek.cz>
Date: Thu Oct 15 15:16:28 2026 +0200
Verify bundled sources using CI - XSSE (#24070)
diff --git a/.github/scripts/download-bundled/xsse.sh b/.github/scripts/download-bundled/xsse.sh
new file mode 100755
index 00000000000..1e2c94d9366
--- /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 5b0089139e4..6f1b6e68d6c 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: |