ci: report PHP versions and JIT settings

master
韩天峰 6 hours ago
parent ec56c9f40a
commit 90df0a93d5
  1. 9
      .github/actions/unix-arm64-build/action.yml
  2. 32
      .github/workflows/linux-x64.yml
  3. 7
      .github/workflows/windows-build.yml

@ -37,6 +37,14 @@ runs:
phpts: ts
update: true
- name: Show PHP environment
shell: bash
run: |
php -v
php-config --version
php --ini
php -r 'printf("PHP_ZTS=%d\nopcache.enable=%s\nopcache.enable_cli=%s\nopcache.jit=%s\nopcache.jit_buffer_size=%s\npcre.jit=%s\n", PHP_ZTS, ini_get("opcache.enable"), ini_get("opcache.enable_cli"), ini_get("opcache.jit"), ini_get("opcache.jit_buffer_size"), ini_get("pcre.jit"));'
- name: Install Linux build dependencies
if: inputs.os == 'linux'
shell: bash
@ -72,7 +80,6 @@ runs:
else
echo "DYLD_LIBRARY_PATH=${PHPX_HOME}/lib:${php_home}/lib" >> "${GITHUB_ENV}"
fi
php -v
php-config --configure-options
- name: Patch php_hash.h C++ compatibility

@ -51,6 +51,14 @@ jobs:
phpts: ts
update: true
- name: Show PHP environment
shell: bash
run: |
php -v
php-config --version
php --ini
php -r 'printf("PHP_ZTS=%d\nopcache.enable=%s\nopcache.enable_cli=%s\nopcache.jit=%s\nopcache.jit_buffer_size=%s\npcre.jit=%s\n", PHP_ZTS, ini_get("opcache.enable"), ini_get("opcache.enable_cli"), ini_get("opcache.jit"), ini_get("opcache.jit_buffer_size"), ini_get("pcre.jit"));'
- name: Verify ZTS PHP
shell: bash
run: |
@ -164,6 +172,14 @@ jobs:
phpts: ts
update: true
- name: Show PHP environment
shell: bash
run: |
php -v
php-config --version
php --ini
php -r 'printf("PHP_ZTS=%d\nopcache.enable=%s\nopcache.enable_cli=%s\nopcache.jit=%s\nopcache.jit_buffer_size=%s\npcre.jit=%s\n", PHP_ZTS, ini_get("opcache.enable"), ini_get("opcache.enable_cli"), ini_get("opcache.jit"), ini_get("opcache.jit_buffer_size"), ini_get("pcre.jit"));'
- name: Verify ZTS PHP
shell: bash
run: |
@ -244,6 +260,14 @@ jobs:
phpts: ts
update: true
- name: Show PHP environment
shell: bash
run: |
php -v
php-config --version
php --ini
php -r 'printf("PHP_ZTS=%d\nopcache.enable=%s\nopcache.enable_cli=%s\nopcache.jit=%s\nopcache.jit_buffer_size=%s\npcre.jit=%s\n", PHP_ZTS, ini_get("opcache.enable"), ini_get("opcache.enable_cli"), ini_get("opcache.jit"), ini_get("opcache.jit_buffer_size"), ini_get("pcre.jit"));'
- name: Verify ZTS PHP and FPM
shell: bash
run: |
@ -347,6 +371,14 @@ jobs:
phpts: ts
update: true
- name: Show PHP environment
shell: bash
run: |
php -v
php-config --version
php --ini
php -r 'printf("PHP_ZTS=%d\nopcache.enable=%s\nopcache.enable_cli=%s\nopcache.jit=%s\nopcache.jit_buffer_size=%s\npcre.jit=%s\n", PHP_ZTS, ini_get("opcache.enable"), ini_get("opcache.enable_cli"), ini_get("opcache.jit"), ini_get("opcache.jit_buffer_size"), ini_get("pcre.jit"));'
- name: Verify ZTS PHP
shell: bash
run: |

@ -42,6 +42,13 @@ jobs:
phpts: ts
update: true
- name: Show PHP environment
shell: pwsh
run: |
php -v
php --ini
php -r 'printf("PHP_ZTS=%d\nopcache.enable=%s\nopcache.enable_cli=%s\nopcache.jit=%s\nopcache.jit_buffer_size=%s\npcre.jit=%s\n", PHP_ZTS, ini_get("opcache.enable"), ini_get("opcache.enable_cli"), ini_get("opcache.jit"), ini_get("opcache.jit_buffer_size"), ini_get("pcre.jit"));'
- name: Resolve PHP build environment
id: php-build-env
shell: pwsh

Loading…
Cancel
Save